Skip to content

Commit

Permalink
fix: rm duplicate config cloudflare cache
Browse files Browse the repository at this point in the history
  • Loading branch information
fivehanz committed Aug 19, 2024
1 parent bca044b commit 5f7baeb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions hanz/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@

SECRET_KEY = os.environ.get("SECRET_KEY")

WAGTAILFRONTENDCACHE = {
"cloudflare": {
"BACKEND": "wagtail.contrib.frontend_cache.backends.CloudflareBackend",
"BEARER_TOKEN": os.environ.get("CLOUDFLARE_BEARER_TOKEN"),
"ZONEID": os.environ.get("CLOUDFLARE_ZONEID"),
},
}

ALLOWED_HOSTS = os.environ.get("ALLOW_HOSTS", "").split(",")
CSRF_TRUSTED_ORIGINS = os.environ.get("CSRF_TRUSTED_ORIGINS", "").split(",")

Expand Down

0 comments on commit 5f7baeb

Please sign in to comment.