mirror of
https://github.com/inventree/InvenTree.git
synced 2025-10-29 04:17:41 +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