Skip to content

Commit 74b8163

Browse files
committed
heroku changes
1 parent 13fbe81 commit 74b8163

File tree

4 files changed

+3
-1
lines changed

4 files changed

+3
-1
lines changed

requirements.txt

156 Bytes
Binary file not shown.

screencast/Procfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: gunicorn screencast.wsgi --log-file -

screencast/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# SECURITY WARNING: don't run with debug turned on in production!
2626
DEBUG = True
2727

28-
ALLOWED_HOSTS = ['screencast2020.azurewebsites.net','127.0.0.1']
28+
ALLOWED_HOSTS = ['screencast2020.azurewebsites.net','127.0.0.1','.herokuapp.com']
2929

3030

3131
# Application definition

screencast/wsgi.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@
1414
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'screencast.settings')
1515

1616
application = get_wsgi_application()
17+

0 commit comments

Comments
 (0)