fix: 修正后台管理模板API路径为 /api/admin/xxx
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user