mirror of https://github.com/zulip/zulip.git
webpack: Add ALLOWED_HOSTS list for zulipdev.com and friends.
This makes it possible to again use the *.zulipdev.com domains in the development environment. Ideally, we'd also read REALM_HOSTS to make this more flexible.
This commit is contained in:
parent
ae0a929988
commit
06ed55e45a
|
@ -36,6 +36,7 @@ def run_watch(host, port, minify, disable_host_check):
|
||||||
webpack_args += [
|
webpack_args += [
|
||||||
'--config',
|
'--config',
|
||||||
'tools/webpack.config.ts',
|
'tools/webpack.config.ts',
|
||||||
|
'--allowed-hosts', ','.join([host, '.zulipdev.com', '.zulipdev.org']),
|
||||||
'--host', host,
|
'--host', host,
|
||||||
'--port', port,
|
'--port', port,
|
||||||
# We add the hot flag using the cli because it takes care
|
# We add the hot flag using the cli because it takes care
|
||||||
|
|
Loading…
Reference in New Issue