From 65a48b6927ee371190869e3e2e1912283b2776c4 Mon Sep 17 00:00:00 2001 From: Jafeng <2998840497@qq.com> Date: Wed, 12 Nov 2025 09:54:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=BD=91=E7=BB=9C=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/frontend/capacitor.config.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/frontend/capacitor.config.ts b/apps/frontend/capacitor.config.ts index 6d8c60f..2144708 100644 --- a/apps/frontend/capacitor.config.ts +++ b/apps/frontend/capacitor.config.ts @@ -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;