Skip to content

Commit

Permalink
add heroku database
Browse files Browse the repository at this point in the history
  • Loading branch information
shyanukant committed Jul 29, 2023
1 parent 3f81721 commit 5c6761c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion squib/squib/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

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

# Tweet Custom Setting
MAX_TWEET_LENGTH = 250
Expand Down Expand Up @@ -166,6 +166,7 @@
"http://localhost:8000",
"http://127.0.0.1:8000",
'http://localhost:3000'
'.herokuapp.com'
# Add other allowed origins if needed
]
# CORS_ALLOW_ALL_ORIGINS = True
Expand Down

0 comments on commit 5c6761c

Please sign in to comment.