ProxmoxVE/frontend/next.config.mjs

26 lines
400 B
JavaScript

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