forked from github/plane
Update production.py
This commit is contained in:
parent
324410d64d
commit
36b0aebc8f
@ -44,14 +44,12 @@ DOCKERIZED = os.environ.get(
|
||||
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
|
||||
|
||||
# Allow all host headers
|
||||
ALLOWED_HOSTS = ["*"]
|
||||
ALLOWED_HOSTS = ["http://localhost:8080","http://localhost:80","http://localhost"]
|
||||
|
||||
# TODO: Make it FALSE and LIST DOMAINS IN FULL PROD.
|
||||
CORS_ALLOW_ALL_ORIGINS = True
|
||||
|
||||
CORS_ALLOWED_ORIGINS = [
|
||||
"*"
|
||||
]
|
||||
CORS_ALLOWED_ORIGINS = ["http://localhost:8080","http://localhost:80","http://localhost"]
|
||||
|
||||
CORS_ALLOWED_ORIGIN_REGEXES = [
|
||||
r"^https://\w+\.domain\.com$",
|
||||
|
Loading…
Reference in New Issue
Block a user