mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-22 22:39:36 +02:00
docker
This commit is contained in:
parent
e646ad6f81
commit
ad90f03a45
2 changed files with 4 additions and 5 deletions
|
@ -207,10 +207,8 @@ SWAGGER_SETTINGS = {
|
|||
CORS_ORIGIN_ALLOW_ALL = True
|
||||
|
||||
|
||||
CSRF_TRUSTED_ORIGINS = [
|
||||
'https://api.adventurelog.app',
|
||||
'https://adventurelog.app',
|
||||
|
||||
]
|
||||
from os import getenv
|
||||
|
||||
CSRF_TRUSTED_ORIGINS = getenv('CSRF_TRUSTED_ORIGINS', 'localhost').split(',')
|
||||
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue