From e6ba657e534c1934f316bb379f6025718615471b Mon Sep 17 00:00:00 2001 From: Debian Dev4 Date: Wed, 24 Sep 2025 19:33:53 +0000 Subject: [PATCH] ci: docker_tag=ext rebuild front with basePath/assetPrefix + trailingSlash --- docs/HMR_IDNOT_STATE.md | 1 + docs/PORTS.md | 1 + next.config.js | 8 +++++++- src/pages/{env.tsx => env.tsx.bak} | 0 4 files changed, 9 insertions(+), 1 deletion(-) rename src/pages/{env.tsx => env.tsx.bak} (100%) diff --git a/docs/HMR_IDNOT_STATE.md b/docs/HMR_IDNOT_STATE.md index f8d262fa..7501b40e 100644 --- a/docs/HMR_IDNOT_STATE.md +++ b/docs/HMR_IDNOT_STATE.md @@ -37,3 +37,4 @@ Vue d’ensemble - CORS dev3: OPTIONS 204 + en-têtes (A-C-A-Origin = dev4). - `POST /api/v1/idnot/state`: 200 + `state` présent. - Checks publics: `/lecoffre` = 301 → `/lecoffre/`, `/lecoffre/` = 200. + diff --git a/docs/PORTS.md b/docs/PORTS.md index b01eed5f..da67b624 100644 --- a/docs/PORTS.md +++ b/docs/PORTS.md @@ -26,3 +26,4 @@ Notes - Canonical front sous sous-chemin: `/lecoffre/` - Next.js: `basePath: '/lecoffre'`, `assetPrefix: '/lecoffre'`, `trailingSlash: true` - Nginx: rediriger `/lecoffre` → `/lecoffre/`, et proxy sur `^~ /lecoffre/` vers `http://localhost:3004` + diff --git a/next.config.js b/next.config.js index 577a83f1..605c8b9c 100644 --- a/next.config.js +++ b/next.config.js @@ -2,10 +2,16 @@ const nextConfig = { reactStrictMode: false, - output: 'standalone', + output: 'export', basePath: '/lecoffre', assetPrefix: '/lecoffre', trailingSlash: true, + images: { + unoptimized: true, + }, + eslint: { + ignoreDuringBuilds: true, + }, typescript: { ignoreBuildErrors: true, }, diff --git a/src/pages/env.tsx b/src/pages/env.tsx.bak similarity index 100% rename from src/pages/env.tsx rename to src/pages/env.tsx.bak