- 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)
17 lines
426 B
TypeScript
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
|