diff --git a/bookwyrm/settings.py b/bookwyrm/settings.py index 234282ca0..653adbc6e 100644 --- a/bookwyrm/settings.py +++ b/bookwyrm/settings.py @@ -365,7 +365,7 @@ if (USE_HTTPS and PORT == 443) or (not USE_HTTPS and PORT == 80): NETLOC = DOMAIN else: NETLOC = f"{DOMAIN}:{PORT}" -BASE_URL = f"{PROTOCOL}://{NETLOC}" +BASE_URL = f"{PROTOCOL}://{NETLOC}/bookwyrm" CSRF_TRUSTED_ORIGINS = [BASE_URL] USER_AGENT = f"BookWyrm (BookWyrm/{VERSION}; +{BASE_URL})"