Add 'bookwyrm' suffix to BASE_URL so that static and image urls use it
This commit is contained in:
parent
71d0cd5e73
commit
e9f11a4d29
1 changed files with 1 additions and 1 deletions
|
@ -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})"
|
||||
|
|
Loading…
Add table
Reference in a new issue