fix: 修复小程序API路径重复问题
- apiBaseUrl 从 https://lhgy.net/api 改为 https://lhgy.net - 避免拼接后出现 /api/api/v1 双前缀导致 404
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
App<IAppOption>({
|
||||
globalData: {
|
||||
// 生产环境使用外网 HTTPS 地址
|
||||
apiBaseUrl: 'https://lhgy.net/api',
|
||||
// 生产环境使用外网 HTTPS 地址(不含 /api 前缀,避免路径重复)
|
||||
apiBaseUrl: 'https://lhgy.net',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user