Files
logseq/capacitor.config.ts
2021-11-27 11:11:04 +08:00

26 lines
659 B
TypeScript

import { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'com.logseq.app',
appName: 'Logseq',
bundledWebRuntime: false,
webDir: 'public',
plugins: {
SplashScreen: {
launchShowDuration: 3000,
launchAutoHide: false,
androidScaleType: "CENTER_CROP",
splashImmersive: true,
backgroundColor: "#002b36"
},
}
// do not commit this into source control
// source: https://capacitorjs.com/docs/guides/live-reload
, server: {
url: process.env.LOGSEQ_APP_SERVER_URL,
cleartext: true
}
};
export = config;