Update domain in local settings
This commit is contained in:
parent
a30e2afdd1
commit
a8a9c041d0
|
@ -12,12 +12,13 @@ OPENSEARCH_MAIN_SEARCH_FIELDS = ["msg"]
|
||||||
|
|
||||||
# URLs
|
# URLs
|
||||||
DOMAIN = "example.com"
|
DOMAIN = "example.com"
|
||||||
|
URL = f"https://{DOMAIN}"
|
||||||
|
|
||||||
# Access control
|
# Access control
|
||||||
ALLOWED_HOSTS = ["127.0.0.1"]
|
ALLOWED_HOSTS = ["127.0.0.1", DOMAIN]
|
||||||
|
|
||||||
# CSRF
|
# CSRF
|
||||||
CSRF_TRUSTED_ORIGINS = [f"https://{DOMAIN}"]
|
CSRF_TRUSTED_ORIGINS = [URL]
|
||||||
|
|
||||||
# Stripe
|
# Stripe
|
||||||
STRIPE_TEST = True
|
STRIPE_TEST = True
|
||||||
|
|
Loading…
Reference in New Issue