1
0
Fork 0

Add 'bookwyrm/' prefix to all urls

This commit is contained in:
Reinout Meliesie 2025-03-11 12:14:47 +01:00
parent 1e0d547db5
commit 71d0cd5e73
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -835,6 +835,8 @@ urlpatterns = [
# Serves /static when DEBUG is true. # Serves /static when DEBUG is true.
urlpatterns.extend(staticfiles_urlpatterns()) urlpatterns.extend(staticfiles_urlpatterns())
urlpatterns = [path("bookwyrm/", include(urlpatterns))]
# pylint: disable=invalid-name # pylint: disable=invalid-name
handler500 = "bookwyrm.views.server_error" handler500 = "bookwyrm.views.server_error"