You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
527 B
20 lines
527 B
1 year ago
|
import './polyfills';
|
||
|
import 'Styles/globals.css';
|
||
|
import './index.css';
|
||
|
|
||
|
const initializeUrl = `${
|
||
|
window.Prowlarr.urlBase
|
||
|
}/initialize.json?t=${Date.now()}`;
|
||
|
const response = await fetch(initializeUrl);
|
||
|
|
||
|
window.Prowlarr = await response.json();
|
||
|
|
||
|
/* eslint-disable no-undef, @typescript-eslint/ban-ts-comment */
|
||
|
// @ts-ignore 2304
|
||
|
__webpack_public_path__ = `${window.Prowlarr.urlBase}/`;
|
||
|
/* eslint-enable no-undef, @typescript-eslint/ban-ts-comment */
|
||
|
|
||
|
const { bootstrap } = await import('./bootstrap');
|
||
|
|
||
|
await bootstrap();
|