From fe03e1ca687d0e1527f9c7ff9ae3c60bbfd5230a Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Sat, 1 Nov 2025 16:03:26 +0100 Subject: [PATCH] Use local assets for prod --- capacitor.config.ts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/capacitor.config.ts b/capacitor.config.ts index 8ab0f8e..75ba312 100644 --- a/capacitor.config.ts +++ b/capacitor.config.ts @@ -6,16 +6,8 @@ console.log("LOCAL_ANDROID in CapacitorConfig", LOCAL_ANDROID) const config: CapacitorConfig = { appId: 'com.compass.app', appName: 'Compass', - webDir: 'web/.next', - server: { - url: LOCAL_ANDROID ? "http://10.0.2.2:3000" : 'https://compassmeet.com', - cleartext: true, - allowNavigation: [ - "www.compassmeet.com", - "localhost", - "10.0.2.2", - ], - }, + webDir: 'web/out', + server: LOCAL_ANDROID ? { url: 'http://10.0.2.2:3000', cleartext: true } : {} }; export default config;