Merge pull request #66 from bparees/allowed_hosts
move allowed hosts to settings.py
This commit is contained in:
commit
c4727a081b
4 changed files with 5 additions and 17 deletions
|
@ -217,10 +217,6 @@
|
|||
{
|
||||
"name": "DJANGO_SECRET_KEY",
|
||||
"value": "${DJANGO_SECRET_KEY}"
|
||||
},
|
||||
{
|
||||
"name": "ALLOWED_HOSTS",
|
||||
"value": "['*']"
|
||||
}
|
||||
],
|
||||
"resources": {
|
||||
|
|
|
@ -217,10 +217,6 @@
|
|||
{
|
||||
"name": "DJANGO_SECRET_KEY",
|
||||
"value": "${DJANGO_SECRET_KEY}"
|
||||
},
|
||||
{
|
||||
"name": "ALLOWED_HOSTS",
|
||||
"value": "['*']"
|
||||
}
|
||||
],
|
||||
"resources": {
|
||||
|
|
|
@ -216,16 +216,12 @@
|
|||
{
|
||||
"name": "DJANGO_SECRET_KEY",
|
||||
"value": "${DJANGO_SECRET_KEY}"
|
||||
},
|
||||
{
|
||||
"name": "ALLOWED_HOSTS",
|
||||
"value": "['*']"
|
||||
}
|
||||
}
|
||||
],
|
||||
"resources": {
|
||||
"limits": {
|
||||
"memory": "${MEMORY_LIMIT}"
|
||||
}
|
||||
"limits": {
|
||||
"memory": "${MEMORY_LIMIT}"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -30,7 +30,7 @@ SECRET_KEY = os.getenv(
|
|||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = []
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
||||
|
||||
# Application definition
|
||||
|
|
Loading…
Reference in a new issue