mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 17:47:08 +01:00
fix locale discovery by django app
This commit is contained in:
parent
c6af2044ce
commit
bf198f37db
3 changed files with 20 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue