2025-11-01 11:39:29 +08:00
|
|
|
|
import type { CapacitorConfig } from '@capacitor/cli';
|
|
|
|
|
|
|
2025-11-12 09:54:49 +08:00
|
|
|
|
// 开发阶段:使用 http,避免 WebView https 与 http API 的混合内容被拦截
|
2025-11-01 11:39:29 +08:00
|
|
|
|
const config: CapacitorConfig = {
|
|
|
|
|
|
appId: 'com.bill.ai',
|
|
|
|
|
|
appName: '智能记账',
|
2025-11-12 09:54:49 +08:00
|
|
|
|
webDir: 'dist',
|
|
|
|
|
|
server: {
|
|
|
|
|
|
androidScheme: 'http'
|
|
|
|
|
|
}
|
2025-11-01 11:39:29 +08:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
export default config;
|