This commit is contained in:
hailin 2025-06-15 00:42:33 +08:00
parent dd3dff9543
commit 9b27b288c9
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ export async function getAxiosConfig() {
const ip = await getRuntimeEnv("SUPABASE_URL"); // 直接用你 lib/ipconfig 里的方法
if (!ip) throw new Error("SUPABASE_URL 获取失败,无法构建 axios 配置");
return {
baseURL: `http://${ip}:3008`, // 端口如需动态可再加参数
baseURL: `http://${ip}:80`, // 端口如需动态可再加参数
method: 'post',
timeout: 60 * 1000,
headers: { 'Content-Type': 'application/json; charset=UTF-8' },