mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Set default for SITE_URL to localhost:8000 (#2757)
This commit is contained in:
committed by
GitHub
parent
6cd8fb5b58
commit
fd3311ed60
@@ -170,7 +170,7 @@ PRETIX_SESSION_TIMEOUT_RELATIVE = 3600 * 3
|
||||
PRETIX_SESSION_TIMEOUT_ABSOLUTE = 3600 * 12
|
||||
PRETIX_PRIMARY_COLOR = '#8E44B3'
|
||||
|
||||
SITE_URL = config.get('pretix', 'url', fallback='http://localhost')
|
||||
SITE_URL = config.get('pretix', 'url', fallback='http://localhost:8000')
|
||||
if SITE_URL.endswith('/'):
|
||||
SITE_URL = SITE_URL[:-1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user