Browse Source

♻️ refactor(admin): adjust area tree route path

- change area tree route from '/tree' to '/' for more intuitive API structure
yourname 4 months ago
parent
commit
95f14d84fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/server/api/admin/areas/index.ts

+ 1 - 1
src/server/api/admin/areas/index.ts

@@ -22,5 +22,5 @@ export default createCrudRoutes({
 })
 
 // 合并树形结构路由
-.route('/tree', treeRoutes);
+.route('/', treeRoutes);