From 40999d2424b4fda46042d76e01749de009573eb6 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <p.gawron@atcomp.pl> Date: Fri, 5 Apr 2024 11:57:37 +0200 Subject: [PATCH] asset prefix cannot have "/" at the end --- next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index ecaa1915..058121d9 100644 --- a/next.config.js +++ b/next.config.js @@ -2,7 +2,7 @@ const nextConfig = { reactStrictMode: true, basePath: process.env.APP_PREFIX ? process.env.APP_PREFIX + '/index.html' : '', - assetPrefix: process.env.APP_PREFIX ? process.env.APP_PREFIX + '/' : '', + assetPrefix: process.env.APP_PREFIX ? process.env.APP_PREFIX : '', output: 'export', images: { unoptimized: true, -- GitLab