Fix webpack dev server checks
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user