Commit Graph
9 Commits
Author SHA1 Message Date
neckfireandClaude Opus 5 b5f362fde1 URL de l'API : lit VITE_API_URL au lieu d'une adresse locale en dur
Build & Deploy / build (push) Successful in 20s
theapi.ts pointait sur http://127.0.0.1:8000 et AuthPage.tsx sur
http://localhost:8000. Depuis un navigateur sur https://regwatch.nfteam.ovh,
ces appels visent la machine du visiteur : « Failed to fetch » au login et
plus aucun document affiché (doublé d'un blocage mixed-content https -> http).

Le Dockerfile bake déjà ARG VITE_API_URL=https://regwatch-api.nfteam.ovh ;
le code ne le lisait simplement pas. Le repli garde l'adresse locale, donc
`pnpm dev` sans .env continue de fonctionner — c'est ce qui manquait au
commit « Fix : URL API production », codé en dur puis reverté pour cette raison.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 15:56:19 +02:00
Mouigni 15b1ab5fa0 Revert "Fix : URL API production"
Build & Deploy / build (push) Successful in 14s
This reverts commit 0be0d1fb58.
2026-08-15 15:45:24 +02:00
Mouigni 0be0d1fb58 Fix : URL API production
Build & Deploy / build (push) Successful in 20s
2026-08-15 15:35:03 +02:00
Mouignihazi 2197aad4e9 Admin : page admin + responsive + CookieBanner + Toast + BackToTop
Build & Deploy / build (push) Successful in 32s
2026-08-15 15:22:29 +02:00
Mouignihazi 95b39bd494 Fix : CookieBanner visible avant et après connexion
Build & Deploy / build (push) Successful in 20s
2026-08-12 01:01:45 +02:00
Mouignihazi 58adbc79bf Fix : CookieBanner style inline test
Build & Deploy / build (push) Successful in 16s
2026-08-12 00:58:04 +02:00
Mouignihazi bf125ce87d Fix : CookieBanner useEffect
Build & Deploy / build (push) Successful in 15s
2026-08-12 00:42:43 +02:00
Mouignihazi d30f38c49c RGPD : ajout CookieBanner + mise à jour App.tsx
Build & Deploy / build (push) Successful in 24s
2026-08-12 00:26:27 +02:00
neckfireandClaude Opus 4.8 2307d9a134 RegWatch frontend : React/Vite -> nginx + Docker/CI homelab
Build & Deploy / build (push) Successful in 18s
- URL d'API externalisée (VITE_API_URL bakée au build), plus de localhost en dur
- Dockerfile multi-stage pnpm build -> nginx (fallback SPA)
- docker-compose (Watchtower) + .gitea/workflows/build.yml

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-24 18:43:29 +02:00