mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
socket: Switch localhost to 127.0.0.1.
It does the same thing, but is a bit more robust to weird DNS configurations.
This commit is contained in:
@@ -327,7 +327,7 @@ class MessageSenderWorker(QueueProcessingWorker):
|
||||
environ = {'REQUEST_METHOD': 'SOCKET',
|
||||
'SCRIPT_NAME': '',
|
||||
'PATH_INFO': '/json/messages',
|
||||
'SERVER_NAME': 'localhost',
|
||||
'SERVER_NAME': '127.0.0.1',
|
||||
'SERVER_PORT': 9993,
|
||||
'SERVER_PROTOCOL': 'ZULIP_SOCKET/1.0',
|
||||
'wsgi.version': (1, 0),
|
||||
|
||||
Reference in New Issue
Block a user