Skip to content

Commit

Permalink
Merge pull request #1 from Headway-Dev/fix/update-host-limitation
Browse files Browse the repository at this point in the history
Fix: Rm host limitation
  • Loading branch information
VladyslavKukharchuk authored Feb 3, 2025
2 parents 392c57e + 75a310d commit 2a1f41d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions meetups/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,10 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.getenv('DEBUG', 'False') == 'True'

ALLOWED_HOSTS = [
"localhost",
"127.0.0.1",
"meetups.harrisonliddiard.com",
".ngrok.io",
".lhr.life" # https://localhost.run
]
ALLOWED_HOSTS = ["*"]

# https://docs.djangoproject.com/en/5.0/ref/settings/#csrf-trusted-origins
CSRF_TRUSTED_ORIGINS = [
"https://meetups.harrisonliddiard.com",
]
CSRF_TRUSTED_ORIGINS = ["*"]

# Application definition

Expand Down

0 comments on commit 2a1f41d

Please sign in to comment.