mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
Don't use os.path.join() to concatenate URL parts
This could lead to "\" being used on Windows. Although, we won't be supporting Windows, this is a conceptual problem.
This commit is contained in:
parent
418f5ff397
commit
b77c97e088
@ -186,7 +186,7 @@ def configure_django():
|
||||
ROOT_URLCONF='urls',
|
||||
SESSION_ENGINE='django.contrib.sessions.backends.file',
|
||||
SESSION_FILE_PATH=sessions_directory,
|
||||
STATIC_URL=os.path.join(cfg.server_dir, 'static/'),
|
||||
STATIC_URL=cfg.server_dir + '/static/',
|
||||
TEMPLATE_CONTEXT_PROCESSORS=context_processors,
|
||||
TEMPLATE_DIRS=template_directories)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user