fix: 修正后台管理模板API路径为 /api/admin/xxx
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
|
||||
<script>
|
||||
async function loadConfig() {
|
||||
const res = await fetch('/api/config');
|
||||
const res = await fetch('/api/admin/config');
|
||||
const data = await res.json();
|
||||
|
||||
const container = document.getElementById('configContent');
|
||||
|
||||
Reference in New Issue
Block a user