add ALLOWED_HOSTS
This commit is contained in:
@@ -25,7 +25,11 @@ SECRET_KEY = os.environ['SECRET_KEY']
|
|||||||
# 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 = [
|
||||||
|
'localhost',
|
||||||
|
'dtd-fincom.herokuapp.com',
|
||||||
|
'*.delt.space',
|
||||||
|
]
|
||||||
|
|
||||||
AUTHENTICATION_BACKENDS = [
|
AUTHENTICATION_BACKENDS = [
|
||||||
'social_core.backends.google.GoogleOAuth2',
|
'social_core.backends.google.GoogleOAuth2',
|
||||||
|
|||||||
Reference in New Issue
Block a user