Skip to content

Commit

Permalink
Add allowed hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
itsadeadh2 committed Jul 13, 2024
1 parent a55a51f commit 3649f7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions itsanapi/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"SLIDING_TOKEN_LIFETIME_LATE_USER": timedelta(days=30),
}

ALLOWED_HOSTS = ['itsadeadh2.com']

DATABASE_URL = env('DATABASE_URL')
if DATABASE_URL:
DATABASES['default'] = dj_database_url.parse(DATABASE_URL)

0 comments on commit 3649f7d

Please sign in to comment.