mirror of
https://github.com/CompassConnections/Compass.git
synced 2025-12-23 22:18:43 -05:00
Use local assets for prod
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user