mirror of
https://github.com/setube/ogame-vue-ts.git
synced 2026-05-12 07:55:11 +08:00
优化移动端开屏
This commit is contained in:
@@ -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: {
|
||||
// 禁用键盘自动调整视口
|
||||
|
||||
Reference in New Issue
Block a user