Skip to content

Commit

Permalink
disabeling zoom, and disabling logging
Browse files Browse the repository at this point in the history
  • Loading branch information
graphefruit committed Nov 23, 2024
1 parent 0087a45 commit c42011a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions capacitor.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type Platform = 'android' | 'ios';
const PlatformOverrideEnvVariable = 'CAPACITOR_PLATFORM_OVERRIDE';

const validatePlatformString: (
platformString: string
platformString: string,
) => Platform | undefined = (platformString) => {
switch (platformString) {
case 'android':
Expand All @@ -27,7 +27,7 @@ const getPlatform: () => Platform = () => {
*/

const platformFromEnv = validatePlatformString(
env[PlatformOverrideEnvVariable]
env[PlatformOverrideEnvVariable],
);
if (platformFromEnv) {
return platformFromEnv;
Expand Down Expand Up @@ -60,6 +60,8 @@ const createConfig = () => {
appId: 'com.beanconqueror.app',
appName: 'Beanconqueror',
webDir: 'www',
loggingBehavior: 'none',
zoomEnabled: false,
server: {
// Will be set in platform section below
},
Expand Down

0 comments on commit c42011a

Please sign in to comment.