mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:02:46 +00:00
fix: update module and tool URLs to avoid duplicate paths for ModuleTreeView and ToolTreeView
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
This commit is contained in:
parent
2c0cb5b6e6
commit
16cafec6af
|
|
@ -5,6 +5,6 @@ from . import views
|
|||
app_name = "module"
|
||||
urlpatterns = [
|
||||
path('workspace/<str:workspace_id>/<str:source>/module', views.ModuleView.Create.as_view()),
|
||||
path('workspace/<str:workspace_id>/<str:source>/module/tree', views.ModuleTreeView.as_view()),
|
||||
path('workspace/<str:workspace_id>/<str:source>/module', views.ModuleTreeView.as_view()),
|
||||
path('workspace/<str:workspace_id>/<str:source>/module/<str:module_id>', views.ModuleView.Operate.as_view()),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@ from . import views
|
|||
app_name = "tool"
|
||||
urlpatterns = [
|
||||
path('workspace/<str:workspace_id>/tool', views.ToolView.Create.as_view()),
|
||||
path('workspace/<str:workspace_id>/tool/tree', views.ToolTreeView.as_view()),
|
||||
path('workspace/<str:workspace_id>/tool', views.ToolTreeView.as_view()),
|
||||
path('workspace/<str:workspace_id>/tool/<str:tool_id>', views.ToolView.Operate.as_view()),
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue