Skip to content

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hUwUtao authored Dec 4, 2024
1 parent bf9a54d commit a26c6a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fuhoblog/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@
# e.g. in notification emails. Don't include '/admin' or a trailing slash
WAGTAILADMIN_BASE_URL = os.environ.setdefault('API_BASE', 'http://localhost:8000')
BASE_URL = WAGTAILADMIN_BASE_URL
CSRF_TRUSTED_ORIGINS = [BASE_URL]
WAGTAIL_ALLOW_UNICODE_SLUGS = False
WAGTAIL_USAGE_COUNT_ENABLED = True

Expand Down

0 comments on commit a26c6a7

Please sign in to comment.