From f6cf39fb99a2e968d2b36249e1c24876d70447cd Mon Sep 17 00:00:00 2001 From: Angelillo15 Date: Tue, 17 Oct 2023 21:48:15 +0200 Subject: [PATCH] Disable host check --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 471f1fcfc..f402a0fa3 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -151,7 +151,7 @@ module.exports = { contentBase: path.join(__dirname, '/public'), publicPath: process.env.WEBPACK_PUBLIC_PATH || '/assets/', writeToDisk: true, - allowedHosts: ['localhost'], + disableHostCheck: true, headers: { 'Access-Control-Allow-Origin': '*', },