Skip to content

Commit

Permalink
wildcard allowed domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Two-Trick-Pony-NL committed Oct 12, 2023
1 parent addc40e commit 3ed6c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = env("DEBUG")

ALLOWED_HOSTS = ['*.cs.amazonlightsail.com', 'localhost', '0.0.0.0', '127.0.0.1', 'djangoapp.vdotvo9a4e2a6.eu-central-1.cs.amazonlightsail.com']
ALLOWED_HOSTS = ['.amazonlightsail.com', 'localhost', '0.0.0.0', '127.0.0.1',]
CSRF_TRUSTED_ORIGINS = ['https://localhost','https://*.amazonlightsail.com','https://127.0.0.1']


Expand Down

0 comments on commit 3ed6c6b

Please sign in to comment.