mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Webpack worker loading with UrlBase
This commit is contained in:
@@ -121,8 +121,7 @@ const config = {
|
||||
use: {
|
||||
loader: 'worker-loader',
|
||||
options: {
|
||||
name: '[name].js',
|
||||
inline: true
|
||||
name: '[name].js'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/* eslint-disable-next-line no-undef */
|
||||
__webpack_public_path__ = `${window.Radarr.urlBase}/`;
|
||||
|
||||
import './preload.js';
|
||||
import React from 'react';
|
||||
import { render } from 'react-dom';
|
||||
import { createBrowserHistory } from 'history';
|
||||
|
2
frontend/src/preload.js
Normal file
2
frontend/src/preload.js
Normal file
@@ -0,0 +1,2 @@
|
||||
/* eslint no-undef: 0 */
|
||||
__webpack_public_path__ = `${window.Radarr.urlBase}/`;
|
Reference in New Issue
Block a user