Fix for URL redirect (#9914)

- Need leading / to ensure absolute path
This commit is contained in:
Oliver 2025-07-01 11:22:11 +10:00 committed by GitHub
parent 3482ab4956
commit e96e78cf0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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',
)
]