From 0485807336673dbfbd1178996d69c41ab010f72d Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Sun, 19 May 2024 19:39:00 +0200 Subject: [PATCH] add fix for basepath (github pages) --- ui/next.config.mjs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/next.config.mjs b/ui/next.config.mjs index 752d0fb..b4bba34 100644 --- a/ui/next.config.mjs +++ b/ui/next.config.mjs @@ -1,7 +1,8 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - output: "export", // <=== enables static exports - reactStrictMode: true, + basePath: "/facial-access-control", + output: "export", // <=== enables static exports + reactStrictMode: true, }; export default nextConfig;