Skip to content

Commit

Permalink
Define CSRF_TRUSTED_ORIGINS
Browse files Browse the repository at this point in the history
  • Loading branch information
Minnozz committed Apr 15, 2024
1 parent 6e94960 commit a839881
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bookwyrm/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@
else:
NETLOC = f"{DOMAIN}:{PORT}"
BASE_URL = f"{PROTOCOL}://{NETLOC}"
CSRF_TRUSTED_ORIGINS = [BASE_URL]

USER_AGENT = f"BookWyrm (BookWyrm/{VERSION}; +{BASE_URL})"

Expand Down

0 comments on commit a839881

Please sign in to comment.