mirror of https://github.com/zulip/zulip.git
Pass local_server into page_params.
(imported from commit 50dcee54644e0ee2ad8b13ec12e7134a9ab58d86)
This commit is contained in:
parent
66f48288b4
commit
d44c0d5f5d
|
@ -648,6 +648,7 @@ def home(request):
|
|||
# Pass parameters to the client-side JavaScript code.
|
||||
# These end up in a global JavaScript Object named 'page_params'.
|
||||
page_params = simplejson.encoder.JSONEncoderForHTML().encode(dict(
|
||||
local_server = settings.LOCAL_SERVER,
|
||||
debug_mode = settings.DEBUG,
|
||||
test_suite = settings.TEST_SUITE,
|
||||
poll_timeout = settings.POLL_TIMEOUT,
|
||||
|
|
Loading…
Reference in New Issue