Revert 71d0cd5e73
and e9f11a4d29
This commit is contained in:
parent
4b433e285d
commit
3ff5b3279c
2 changed files with 1 additions and 3 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}/bookwyrm"
|
||||
BASE_URL = f"{PROTOCOL}://{NETLOC}"
|
||||
CSRF_TRUSTED_ORIGINS = [BASE_URL]
|
||||
|
||||
USER_AGENT = f"BookWyrm (BookWyrm/{VERSION}; +{BASE_URL})"
|
||||
|
|
|
@ -835,8 +835,6 @@ urlpatterns = [
|
|||
# Serves /static when DEBUG is true.
|
||||
urlpatterns.extend(staticfiles_urlpatterns())
|
||||
|
||||
urlpatterns = [path("bookwyrm/", include(urlpatterns))]
|
||||
|
||||
# pylint: disable=invalid-name
|
||||
handler500 = "bookwyrm.views.server_error"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue