Remove old UI (#15414)

* Remove source code for old UI
* Rename ui-next to ui
* Remove license scan for javascript dependencies
This commit is contained in:
Hao Liu
2024-08-22 13:48:56 -04:00
committed by GitHub
parent 3f8274d371
commit 78f345c486
1879 changed files with 269 additions and 343054 deletions

View File

@@ -34,9 +34,9 @@ def get_urlpatterns(prefix=None):
re_path(r'^(?:api/)?500.html$', handle_500),
re_path(r'^csp-violation/', handle_csp_violation),
re_path(r'^login/', handle_login_redirect),
# want api/v2/doesnotexist to return a 404, not match the ui_next urls,
# want api/v2/doesnotexist to return a 404, not match the ui urls,
# so use a negative lookahead assertion here
re_path(r'^(?!api/|sso/).*', include('awx.ui_next.urls', namespace='ui_next')),
re_path(r'^(?!api/|sso/).*', include('awx.ui.urls', namespace='ui')),
]
if settings.SETTINGS_MODULE == 'awx.settings.development':