move allowed hosts to settings.py
This commit is contained in:
parent
28ce74503e
commit
4170089b8e
4 changed files with 5 additions and 17 deletions
|
@ -217,10 +217,6 @@
|
||||||
{
|
{
|
||||||
"name": "DJANGO_SECRET_KEY",
|
"name": "DJANGO_SECRET_KEY",
|
||||||
"value": "${DJANGO_SECRET_KEY}"
|
"value": "${DJANGO_SECRET_KEY}"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "ALLOWED_HOSTS",
|
|
||||||
"value": "['*']"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"resources": {
|
"resources": {
|
||||||
|
|
|
@ -217,10 +217,6 @@
|
||||||
{
|
{
|
||||||
"name": "DJANGO_SECRET_KEY",
|
"name": "DJANGO_SECRET_KEY",
|
||||||
"value": "${DJANGO_SECRET_KEY}"
|
"value": "${DJANGO_SECRET_KEY}"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "ALLOWED_HOSTS",
|
|
||||||
"value": "['*']"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"resources": {
|
"resources": {
|
||||||
|
|
|
@ -216,10 +216,6 @@
|
||||||
{
|
{
|
||||||
"name": "DJANGO_SECRET_KEY",
|
"name": "DJANGO_SECRET_KEY",
|
||||||
"value": "${DJANGO_SECRET_KEY}"
|
"value": "${DJANGO_SECRET_KEY}"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "ALLOWED_HOSTS",
|
|
||||||
"value": "['*']"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"resources": {
|
"resources": {
|
||||||
|
|
|
@ -30,7 +30,7 @@ SECRET_KEY = os.getenv(
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
|
||||||
ALLOWED_HOSTS = []
|
ALLOWED_HOSTS = ['*']
|
||||||
|
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|
Loading…
Reference in a new issue