diff options
author | Jan Keromnes <janx@linux.com> | 2018-01-25 14:41:10 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-25 14:48:06 +0100 |
commit | 42f192343035dd56ecd67cc578a7984393a940e5 (patch) | |
tree | 5b2c3082d093cf130bde37aa39dcb30a2a303f21 /scripts/watch | |
parent | 897cab462b03e292684a5d2490ceedde965e0b88 (diff) | |
download | PeerTube-42f192343035dd56ecd67cc578a7984393a940e5.tar.gz PeerTube-42f192343035dd56ecd67cc578a7984393a940e5.tar.zst PeerTube-42f192343035dd56ecd67cc578a7984393a940e5.zip |
Add --disable-host-check to development watch script to support proxies.
See also https://github.com/webpack/webpack-dev-server/issues/882
Diffstat (limited to 'scripts/watch')
-rwxr-xr-x | scripts/watch/client.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/watch/client.sh b/scripts/watch/client.sh index d8c3a2547..2481e2269 100755 --- a/scripts/watch/client.sh +++ b/scripts/watch/client.sh | |||
@@ -2,4 +2,4 @@ | |||
2 | 2 | ||
3 | cd client || exit -1 | 3 | cd client || exit -1 |
4 | 4 | ||
5 | npm run ng -- server --hmr --host 0.0.0.0 --port 3000 | 5 | npm run ng -- server --hmr --host 0.0.0.0 --disable-host-check --port 3000 |