import type { CapacitorConfig } from '@capacitor/cli' const config: CapacitorConfig = { appId: 'cc.zenpower.agent', appName: 'Agent', webDir: 'dist', // WebView 的来源是 https://mobile.zenpower.local:需要加入后台「设置 → 允许的来源」,/v1 与 /bot/v1 才会放行跨域 server: { androidScheme: 'https', hostname: 'mobile.zenpower.local' }, } export default config