Add heroku to allowed hosts

This commit is contained in:
tsb1995 2020-12-24 21:06:45 -08:00
parent a1cb0a9aa9
commit f840913d1b
1 changed files with 3 additions and 2 deletions

View File

@ -24,9 +24,10 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = '@nta)jv(9i6mauda)^ox6_&3&gcyr-+g$krr+4#=sq$te^nxr_'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False
ALLOWED_HOSTS = []
# Allow heroku to host as well as local server
ALLOWED_HOSTS = ['candalbjj.herokuapp.com', '127.0.0.1:8000']
# Application definition