Files
zulip/zephyr/context_processors.py
Keegan McAllister 235ce960b8 Use the obfuscated URLs
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)
2012-10-17 15:04:33 -04:00

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/',
}