mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-02 13:05:33 +00:00
fix locale discovery by django app
This commit is contained in:
1 parent
c6af2044ce
commit
bf198f37db
3 files changed
+20
-6
No files matched your search
@@ -90,7 +90,7 @@ urlpatterns = [
|
||||
|
||||
# Frontend assets TODO: this is pretty bad, but it works.
|
||||
path('assets/<path:path>',
|
||||
RedirectView.as_view(url='/static/frontend/en-us/assets/%(path)s')),
|
||||
RedirectView.as_view(url='/static/frontend/en-US/assets/%(path)s')),
|
||||
# TODO: with localization, this is even worse! :/
|
||||
|
||||
# login, logout
|
||||
|
||||
Reference in new issue
Block a user