fix: 修正后台管理模板API路径为 /api/admin/xxx

This commit is contained in:
2026-04-13 11:23:56 +08:00
parent 34afe96055
commit 9d35179210
7 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -142,8 +142,8 @@
// 加载数据
async function loadData() {
const [providersRes, profilesRes] = await Promise.all([
fetch('/api/providers'),
fetch('/api/auto-profiles')
fetch('/api/admin/providers'),
fetch('/api/admin/auto-profiles')
]);
providers = await providersRes.json();