From 553b17822d8066dbd2c8d3c4c9728bc8e11a719a Mon Sep 17 00:00:00 2001 From: orangemug Date: Wed, 9 Sep 2020 14:19:06 +0100 Subject: [PATCH] Try disable host check for codesandbox. --- config/webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/webpack.config.js b/config/webpack.config.js index ecccaf9..765bf70 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -53,7 +53,8 @@ module.exports = { // See for details poll: (!!process.env.WEBPACK_DEV_SERVER_POLLING ? true : false), watch: false - } + }, + disableHostCheck: (process.env.CODESANDBOX_SSE === "true"), }, plugins: [ new webpack.NoEmitOnErrorsPlugin(),