Adrià Vilanova Martínez | 825888a | 2023-07-23 01:53:48 +0200 | [diff] [blame] | 1 | import {KILL_SWITCH_LOCALSTORAGE_KEY, KILL_SWITCH_LOCALSTORAGE_VALUE} from '../xhrInterceptor/killSwitchHandler.js'; |
Adrià Vilanova Martínez | 4757ae8 | 2022-12-28 16:41:37 +0100 | [diff] [blame] | 2 | import XHRProxy from '../xhrInterceptor/XHRProxy.js'; |
3 | |||||
Adrià Vilanova Martínez | 825888a | 2023-07-23 01:53:48 +0200 | [diff] [blame] | 4 | if (window.localStorage.getItem(KILL_SWITCH_LOCALSTORAGE_KEY) !== |
5 | KILL_SWITCH_LOCALSTORAGE_VALUE) { | ||||
6 | new XHRProxy(); | ||||
7 | } |