meteo-exam/web/capacitor.config.ts
Mathis 6d154ed5fb Météo Exam v0.1.0 — calendrier des évaluations en bulletin météo
- API Express + SQLite : classes, évaluations, SSE, auth Bearer
- Front Vite + TS + Tailwind : frise 7 jours, Exam Cards, modales
- Capacitor Android : APK debug, CapacitorHttp natif
- Seed : classe Terminale S2 (code TERMS2)
2026-10-02 19:51:13 +02:00

17 lines
426 B
TypeScript

import type { CapacitorConfig } from '@capacitor/cli'
const config: CapacitorConfig = {
appId: 'fr.meteo.exam',
appName: 'Météo Exam',
webDir: 'dist',
// L'app Android pointe vers le serveur API distant ; le front est embarqué.
// Scheme HTTP : évite le mixed content (page HTTPS → API HTTP).
server: {
androidScheme: 'http',
},
android: {
allowMixedContent: true,
},
}
export default config