Use local assets for prod

This commit is contained in:
MartinBraquet
2025-11-01 16:03:26 +01:00
parent 44ee6951c9
commit fe03e1ca68

View File

@@ -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;