1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00
immich/web/capacitor.config.ts

26 lines
548 B
TypeScript
Raw Normal View History

2024-05-17 16:50:55 +00:00
import type { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'org.futo.immich',
appName: 'Immich',
webDir: 'build',
server: {
2024-05-21 08:05:05 +00:00
url: 'http://192.168.10.242:2283',
// hostname: '192.168.10.242',
2024-05-17 16:50:55 +00:00
androidScheme: 'http',
cleartext: true,
2024-05-21 08:05:05 +00:00
allowNavigation: ['http://192.168.10.242:2283/api/*', 'http://localhost/*', 'https://localhost/*'],
2024-05-17 16:50:55 +00:00
},
2024-05-21 11:42:12 +00:00
plugins: {
CapacitorCookies: {
enabled: true,
},
CapacitorHttp: {
enabled: true,
},
},
2024-05-17 16:50:55 +00:00
};
export default config;