Compare commits
No commits in common. "9f7d2ebe430b31facb49fa442fb2e25cd540f349" and "55d6226d6a8beeb28d7b6b835c991e43dea1595e" have entirely different histories.
9f7d2ebe43
...
55d6226d6a
@ -1,13 +0,0 @@
|
|||||||
[phases.setup]
|
|
||||||
cmds = [
|
|
||||||
"pip install -r requirements.txt",
|
|
||||||
]
|
|
||||||
|
|
||||||
[phases.build]
|
|
||||||
cmds = [
|
|
||||||
"python manage.py collectstatic --noinput",
|
|
||||||
"python manage.py migrate",
|
|
||||||
]
|
|
||||||
|
|
||||||
[start]
|
|
||||||
cmd = "gunicorn booking_system.wsgi:application --bind 0.0.0.0:$PORT"
|
|
||||||
@ -11,12 +11,7 @@ SECRET_KEY = os.getenv('JWT_SECRET', 'django-insecure-fallback-secret-key')
|
|||||||
|
|
||||||
DEBUG = os.getenv('DEBUG', 'False').lower() == 'true'
|
DEBUG = os.getenv('DEBUG', 'False').lower() == 'true'
|
||||||
|
|
||||||
ALLOWED_HOSTS = [
|
ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS', 'localhost,127.0.0.1').split(',')
|
||||||
'bocwoswwgks0gc8c84sgwkso.72.61.138.80.sslip.io',
|
|
||||||
'72.61.138.80',
|
|
||||||
'localhost',
|
|
||||||
'127.0.0.1',
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user