]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add --disable-host-check to development watch script to support proxies.
authorJan Keromnes <janx@linux.com>
Thu, 25 Jan 2018 13:41:10 +0000 (14:41 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 25 Jan 2018 13:48:06 +0000 (14:48 +0100)
See also https://github.com/webpack/webpack-dev-server/issues/882

scripts/watch/client.sh

index d8c3a254740f942483cc8522c7ff9206a306e637..2481e2269585e2cad3b18480692f24d6cff06bbe 100755 (executable)
@@ -2,4 +2,4 @@
 
 cd client || exit -1
 
-npm run ng -- server --hmr --host 0.0.0.0 --port 3000
+npm run ng -- server --hmr --host 0.0.0.0 --disable-host-check --port 3000