Compare commits
2 commits
9faa64a765
...
a501f443c8
Author | SHA1 | Date | |
---|---|---|---|
|
a501f443c8 | ||
|
42617d70a0 |
2 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ services:
|
|||
pflaenzli:
|
||||
build: .
|
||||
ports:
|
||||
- 8080:80
|
||||
- 8080:8888
|
||||
environment:
|
||||
DOCKER: True
|
||||
|
||||
|
|
|
@ -32,8 +32,8 @@ SECRET_KEY = "django-insecure-q=ps#iypevr!3zfpwtfp3lw#4r3%oyj*(2=*iq^8f4_zbodi^(
|
|||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = ["localhost"]
|
||||
CSRF_TRUSTED_ORIGINS = ["http://localhost:8080", "https://staging.pflaenz.li"]
|
||||
ALLOWED_HOSTS = os.getenv('DJANGO_ALLOWED_HOSTS')
|
||||
CSRF_TRUSTED_ORIGINS = os.getenv('DJANGO_CSRF_TRUSTED_ORIGINS')
|
||||
|
||||
# Application definition
|
||||
|
||||
|
|
Loading…
Reference in a new issue