fix:网络错误
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
import type { CapacitorConfig } from '@capacitor/cli';
|
||||
|
||||
// 开发阶段:使用 http,避免 WebView https 与 http API 的混合内容被拦截
|
||||
const config: CapacitorConfig = {
|
||||
appId: 'com.bill.ai',
|
||||
appName: '智能记账',
|
||||
webDir: 'dist'
|
||||
webDir: 'dist',
|
||||
server: {
|
||||
androidScheme: 'http'
|
||||
}
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
||||
Reference in New Issue
Block a user