Loading sample_env.txt +1 −0 Original line number Diff line number Diff line Loading @@ -5,3 +5,4 @@ GITLAB_ACCOUNTS_SECRET_TOKEN=TokenHere AUTO_ACCEPT_LIST="" GITLAB_URL=https://gitlab.torproject.org/ DEBUG=True ALLOWED_HOSTS=.localhost, 127.0.0.1, .anonticket.onionize.space, ticketlobby/settings.py +4 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,10 @@ SECRET_KEY = config('SECRET_KEY') # SECURITY WARNING: don't run with debug turned on in production! DEBUG = config('DEBUG', cast=bool) ALLOWED_HOSTS = [] ALLOWED_HOSTS = config( 'ALLOWED_HOSTS', cast=lambda v: [s.strip() for s in v.split(',')] ) # Application definition INSTALLED_APPS = [ Loading Loading
sample_env.txt +1 −0 Original line number Diff line number Diff line Loading @@ -5,3 +5,4 @@ GITLAB_ACCOUNTS_SECRET_TOKEN=TokenHere AUTO_ACCEPT_LIST="" GITLAB_URL=https://gitlab.torproject.org/ DEBUG=True ALLOWED_HOSTS=.localhost, 127.0.0.1, .anonticket.onionize.space,
ticketlobby/settings.py +4 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,10 @@ SECRET_KEY = config('SECRET_KEY') # SECURITY WARNING: don't run with debug turned on in production! DEBUG = config('DEBUG', cast=bool) ALLOWED_HOSTS = [] ALLOWED_HOSTS = config( 'ALLOWED_HOSTS', cast=lambda v: [s.strip() for s in v.split(',')] ) # Application definition INSTALLED_APPS = [ Loading