Features: 1) Update ALLOWED_HOSTS to simplify and standardize host patterns.
Fixes: None; Extra: None;
This commit is contained in:
parent
b15df3b72a
commit
c07803db42
1 changed files with 9 additions and 9 deletions
|
|
@ -10,15 +10,15 @@ SECRET_KEY = getenv("SECRET_KEY", "SUPER_SECRET_KEY")
|
|||
DEBUG = bool(int(getenv("DEBUG", "1")))
|
||||
|
||||
ALLOWED_HOSTS = {
|
||||
"app:8000",
|
||||
"worker:8000",
|
||||
"beat:8000",
|
||||
"localhost:8000",
|
||||
"api.localhost:8000",
|
||||
"b2b.localhost:8000",
|
||||
"127.0.0.1:8000",
|
||||
"api.127.0.0.1:8000",
|
||||
"b2b.127.0.0.1:8000",
|
||||
"app:",
|
||||
"worker",
|
||||
"beat",
|
||||
"localhost",
|
||||
"api.localhost",
|
||||
"b2b.localhost",
|
||||
"127.0.0.1",
|
||||
"api.127.0.0.1",
|
||||
"b2b.127.0.0.1",
|
||||
}
|
||||
|
||||
if DEBUG:
|
||||
|
|
|
|||
Loading…
Reference in a new issue