ci: docker_tag=ext rebuild front with basePath/assetPrefix + trailingSlash
All checks were successful
build-and-push-ext / build_push (push) Successful in 4m20s
All checks were successful
build-and-push-ext / build_push (push) Successful in 4m20s
This commit is contained in:
parent
d6ae777e22
commit
e6ba657e53
@ -37,3 +37,4 @@ Vue d’ensemble
|
|||||||
- CORS dev3: OPTIONS 204 + en-têtes (A-C-A-Origin = dev4).
|
- CORS dev3: OPTIONS 204 + en-têtes (A-C-A-Origin = dev4).
|
||||||
- `POST /api/v1/idnot/state`: 200 + `state` présent.
|
- `POST /api/v1/idnot/state`: 200 + `state` présent.
|
||||||
- Checks publics: `/lecoffre` = 301 → `/lecoffre/`, `/lecoffre/` = 200.
|
- Checks publics: `/lecoffre` = 301 → `/lecoffre/`, `/lecoffre/` = 200.
|
||||||
|
|
||||||
|
@ -26,3 +26,4 @@ Notes
|
|||||||
- Canonical front sous sous-chemin: `/lecoffre/`
|
- Canonical front sous sous-chemin: `/lecoffre/`
|
||||||
- Next.js: `basePath: '/lecoffre'`, `assetPrefix: '/lecoffre'`, `trailingSlash: true`
|
- Next.js: `basePath: '/lecoffre'`, `assetPrefix: '/lecoffre'`, `trailingSlash: true`
|
||||||
- Nginx: rediriger `/lecoffre` → `/lecoffre/`, et proxy sur `^~ /lecoffre/` vers `http://localhost:3004`
|
- Nginx: rediriger `/lecoffre` → `/lecoffre/`, et proxy sur `^~ /lecoffre/` vers `http://localhost:3004`
|
||||||
|
|
||||||
|
@ -2,10 +2,16 @@
|
|||||||
|
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
reactStrictMode: false,
|
reactStrictMode: false,
|
||||||
output: 'standalone',
|
output: 'export',
|
||||||
basePath: '/lecoffre',
|
basePath: '/lecoffre',
|
||||||
assetPrefix: '/lecoffre',
|
assetPrefix: '/lecoffre',
|
||||||
trailingSlash: true,
|
trailingSlash: true,
|
||||||
|
images: {
|
||||||
|
unoptimized: true,
|
||||||
|
},
|
||||||
|
eslint: {
|
||||||
|
ignoreDuringBuilds: true,
|
||||||
|
},
|
||||||
typescript: {
|
typescript: {
|
||||||
ignoreBuildErrors: true,
|
ignoreBuildErrors: true,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user