ProxmoxVE/frontend/next.config.mjs
Bram Suurd d739d89caa
Some checks are pending
Deploy Next.js site to Pages / build (push) Waiting to run
Deploy Next.js site to Pages / deploy (push) Blocked by required conditions
manually set basePath in next.config.mjs (#109)
2024-11-06 23:57:50 +01:00

26 lines
388 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
webpack: (config) => {
config.resolve.alias.canvas = false;
return config;
},
images: {
remotePatterns: [
{
protocol: "https",
hostname: "**",
},
],
},
env: {
BASE_PATH: "ProxmoxVE",
},
output: "export",
basePath: `/ProxmoxVE`,
};
export default nextConfig;