Skip to content

Commit

Permalink
add allowed_hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
shyanukant committed Oct 4, 2023
1 parent 43cc02a commit db147cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions squib/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ["SECRET_KEY"]

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.environ.get("DEBUG", False)

# App name
APP_NAME = 'squib'
ALLOWED_HOSTS = [".herokuapp.com", ".azurewebsites.net" '127.0.0.1', ]
ALLOWED_HOSTS = [".herokuapp.com", ".azurewebsites.net", "localhost"]

# Tweet Custom Setting
MAX_TWEET_LENGTH = 250
Expand Down

0 comments on commit db147cc

Please sign in to comment.