Update configuration to use environment variable for BASE_PATH and reflect changes in siteConfig

This commit is contained in:
Bram Suurd 2024-11-06 22:20:29 +01:00
parent 595de3738f
commit 339aa93ec9
2 changed files with 6 additions and 1 deletions

View File

@ -14,7 +14,12 @@ const nextConfig = {
],
},
env: {
BASE_PATH: "/ProxmoxVE",
},
output: "export",
basePath: process.env.BASE_PATH,
};
export default nextConfig;

View File

@ -1,7 +1,7 @@
import { MessagesSquare, Scroll } from "lucide-react";
import { FaGithub } from "react-icons/fa";
export const basePath = "ProxmoxVE";
export const basePath = process.env.BASE_PATH;
export const navbarLinks = [
{