Procházet zdrojové kódy

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

- change area tree route from '/tree' to '/' for more intuitive API structure
yourname před 4 měsíci
rodič
revize
95f14d84fa
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);