mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix webpack dev server checks
This commit is contained in:
parent
3b4ff70709
commit
eccd79c4e0
3 changed files with 4 additions and 5 deletions
|
@ -73,7 +73,7 @@ export function getIncludeCorsCredentials() {
|
|||
export function getMultiServer() {
|
||||
return getConfig().then(config => {
|
||||
// Enable multi-server support when served by webpack
|
||||
if (process.env.WEBPACK_SERVE) { // eslint-disable-line no-undef
|
||||
if (__WEBPACK_SERVE__) { // eslint-disable-line no-undef
|
||||
return true;
|
||||
}
|
||||
return !!config.multiserver;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue