Skip to content

Commit

Permalink
fix: allowed hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
k1g99 committed Feb 15, 2024
1 parent 2f8ef56 commit 05f534f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/fnet/production_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@

SECRET_KEY = get_env("DJANGO_SECRET_KEY")

# ALLOWED_HOSTS = ["*"]
ALLOWED_HOSTS = ["*"]

DATA_DIR = "/data"

CSRF_TRUSTED_ORIGINS = ["https://fgnet.click"]

CORS_ALLOWED_ORIGINS = ["https://fgnet.click"]
CORS_ALLOWED_ORIGINS = ["https://fgnet.click/"]
CORS_ORIGIN_ALLOW_ALL = False
CORS_ORIGIN_WHITELIST = (
"https://fgnet.click",
Expand Down

0 comments on commit 05f534f

Please sign in to comment.