ソースを参照

chore: disable host check for use speak record

Carson 9 ヶ月 前
コミット
0b49118388
1 ファイル変更1 行追加0 行削除
  1. 1 0
      build/webpack.dev.conf.js

+ 1 - 0
build/webpack.dev.conf.js

@@ -32,6 +32,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
     contentBase: false, // since we use CopyWebpackPlugin.
     contentBase: false, // since we use CopyWebpackPlugin.
     compress: true,
     compress: true,
     host: HOST || config.dev.host,
     host: HOST || config.dev.host,
+    disableHostCheck: true,
     port: PORT || config.dev.port,
     port: PORT || config.dev.port,
     open: config.dev.autoOpenBrowser,
     open: config.dev.autoOpenBrowser,
     overlay: config.dev.errorOverlay
     overlay: config.dev.errorOverlay