]> source.dussan.org Git - sonarqube.git/commitdiff
Disable host check in webpack dev server
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>
Tue, 10 Oct 2017 12:46:39 +0000 (14:46 +0200)
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>
Tue, 10 Oct 2017 13:39:29 +0000 (06:39 -0700)
server/sonar-web/scripts/start.js

index 97535e1357a90700e1e8976d37b61127bcc9b50b..3049119cf79db69e772d8065be60d4e7cdd1c66c 100644 (file)
@@ -83,6 +83,7 @@ function runDevServer(compiler, host, port, protocol) {
     compress: true,
     clientLogLevel: 'none',
     contentBase: paths.appPublic,
+    disableHostCheck: true,
     hot: true,
     publicPath: config.output.publicPath,
     quiet: true,