diff --git a/webpack.dev-server.config.js b/webpack.dev-server.config.js index d166deedc..a6ffc307b 100644 --- a/webpack.dev-server.config.js +++ b/webpack.dev-server.config.js @@ -67,7 +67,7 @@ module.exports = (env) => { return; } - const locationUrl = new URL(location); + const locationUrl = new URL(location, backendUrl); if (locationUrl.host !== backendUrl.host) { return;