mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 20:41:46 +00:00
supervisor: Use 127.0.0.1 rather than localhost for tornado.
In theory these should be the same, but in misconfigured environments (such at Travis CI) where /etc/hosts has multiple entries for "localhost", 127.0.0.1 is safer than "localhost".
This commit is contained in:
@@ -303,7 +303,7 @@ INSTALLED_APPS = [
|
||||
# Base URL of the Tornado server
|
||||
# We set it to None when running backend tests or populate_db.
|
||||
# We override the port number when running frontend tests.
|
||||
TORNADO_SERVER = 'http://localhost:9993'
|
||||
TORNADO_SERVER = 'http://127.0.0.1:9993'
|
||||
RUNNING_INSIDE_TORNADO = False
|
||||
|
||||
########################################################################
|
||||
|
||||
Reference in New Issue
Block a user