From 4e8e6e496e3c2d44ba4a5b30d124b02487146e9e Mon Sep 17 00:00:00 2001 From: Matheo THIERRY Date: Tue, 20 May 2025 09:29:40 +0200 Subject: [PATCH] quick fix --- nuxt.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 0f8fae2..34369d8 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -30,7 +30,7 @@ export default defineNuxtConfig({ ], }, baseURL: process.env.NODE_ENV === 'production' ? process.env.BASE_PATH : '/', - buildAssetsDir: '/_nuxt/', + buildAssetsDir: process.env.NODE_ENV === 'production' ? process.env.BASE_PATH + '/_nuxt/' : '/_nuxt/', cdnURL: process.env.NODE_ENV === 'production' ? process.env.CDN_URL : '', },