31 lines
1.0 KiB
Markdown
31 lines
1.0 KiB
Markdown
## Résumé des environnements (front)
|
||
|
||
### Contexte
|
||
|
||
- **Hôte iframe**: `https://dev4.4nkweb.com`
|
||
- **Site principal**: `https://dev4.4nkweb.com/lecoffre` (Next.js `basePath: '/lecoffre'`)
|
||
- **Signer utilisé**: `https://dev3.4nkweb.com`
|
||
|
||
### Variables `NEXT_PUBLIC_*` à aligner
|
||
|
||
- `NEXT_PUBLIC_4NK_URL=https://dev4.4nkweb.com`
|
||
- `NEXT_PUBLIC_4NK_IFRAME_URL=https://dev4.4nkweb.com`
|
||
- `NEXT_PUBLIC_API_URL` → URL publique de l’API back (chemin stable, CORS OK)
|
||
- `NEXT_PUBLIC_BACK_API_PROTOCOL=https`
|
||
- `NEXT_PUBLIC_BACK_API_HOST=dev4.4nkweb.com`
|
||
- `NEXT_PUBLIC_BACK_API_PORT` (vide en prod 443)
|
||
- `NEXT_PUBLIC_BACK_API_ROOT_URL` et `NEXT_PUBLIC_BACK_API_VERSION` si composées côté front
|
||
- `NEXT_PUBLIC_IDNOT_*`, `NEXT_PUBLIC_DOCAPOSTE_API_URL` selon intégrations
|
||
- `NEXT_PUBLIC_DEFAULT_VALIDATOR_ID`, `NEXT_PUBLIC_DEFAULT_STORAGE_URLS` selon besoins
|
||
|
||
### Points d’attention
|
||
|
||
- Vérifier que toutes les URLs tiennent compte du `basePath` `/lecoffre`.
|
||
- Le service de signature est externalisé sur `dev3.4nkweb.com`.
|
||
|
||
|
||
|
||
|
||
|
||
|