优化移动端开屏

This commit is contained in:
谦君
2025-12-27 00:12:49 +08:00
parent 010ea137ac
commit 5c6404d86a
11 changed files with 116 additions and 107 deletions

View File

@@ -5,16 +5,17 @@ const config: CapacitorConfig = {
appName: 'OGame Vue Ts',
webDir: 'docs',
server: {
androidScheme: 'https'
androidScheme: 'https',
cacheControl: 'max-age=31536000'
},
android: {
buildOptions: {
keystorePath: undefined,
keystoreAlias: undefined
},
// 启用 WebView 调试,方便排查问题
webContentsDebuggingEnabled: true,
allowMixedContent: false
webContentsDebuggingEnabled: false,
allowMixedContent: false,
hardwareAcceleration: true
},
plugins: {
// 禁用键盘自动调整视口