mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 03:00:54 +00:00
@ -183,7 +183,7 @@ if settings.FRONTEND_SETTINGS.get('url_compatibility'):
|
||||
urlpatterns += [
|
||||
re_path(
|
||||
r'^.*$',
|
||||
RedirectView.as_view(url=settings.FRONTEND_URL_BASE, permanent=False),
|
||||
RedirectView.as_view(url=f'/{settings.FRONTEND_URL_BASE}', permanent=False),
|
||||
name='index',
|
||||
)
|
||||
]
|
||||
|
Reference in New Issue
Block a user