فهرست منبع

修改服务器地址

zhou1577692533 1 هفته پیش
والد
کامیت
fc39c92216
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/components/App.tsx

+ 1 - 1
src/components/App.tsx

@@ -68,7 +68,7 @@ function App() {
       console.log('开始配置权限...');
       console.log('当前URL:', window.location.href);
       
-      const response = await fetch(`http://localhost:3001/api/configPermission?url=${encodeURIComponent(window.location.href)}`);
+      const response = await fetch(`https://openapi.julefood.cn/api/configPermission?url=${encodeURIComponent(window.location.href)}`);
       const config = await response.json();
       
       console.log('服务器返回配置:', config);