mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-21 18:03:54 +03:00
added small comment in case someone wants to use UDS as main site and redirect / to somewhere else
This commit is contained in:
parent
c53dbd6714
commit
fe7bbe8799
@ -42,6 +42,7 @@ from uds.core.util.modfinder import loadModulesUrls
|
|||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
# Root url placeholder
|
# Root url placeholder
|
||||||
path(r'', RedirectView.as_view(pattern_name='page.index', permanent=False), name='page.index.placeholder'),
|
path(r'', RedirectView.as_view(pattern_name='page.index', permanent=False), name='page.index.placeholder'),
|
||||||
|
# path(r'', RedirectView.as_view(url='https://www.udsenterprise.com', permanent=False), name='page.index.placeholder')
|
||||||
|
|
||||||
# START COMPAT redirections & urls
|
# START COMPAT redirections & urls
|
||||||
path(r'login/', RedirectView.as_view(pattern_name='page.login', permanent=False), name='page.login.compat'),
|
path(r'login/', RedirectView.as_view(pattern_name='page.login', permanent=False), name='page.login.compat'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user