mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 14:35:27 +00:00
The key property is that we never reveal the non-public directory name 4nrjx8cwce2bka8r to a not-logged-in user. This makes it less likely that random people from the Internet will download all our client code while we're still in private beta. (imported from commit 7428e847e0a1a34152cb6dc2b677c1b47290c202)
12 lines
313 B
Python
12 lines
313 B
Python
from django.conf import settings
|
|
|
|
def add_settings(context):
|
|
return {
|
|
'full_navbar': settings.FULL_NAVBAR,
|
|
|
|
# c.f. Django's STATIC_URL variable
|
|
'static_public': '/static/public/',
|
|
'static_third': '/static/third/',
|
|
'static_hidden': '/static/4nrjx8cwce2bka8r/',
|
|
}
|