Files
Proxmox/next.config.mjs
2024-08-03 15:31:51 +02:00

31 lines
544 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
webpack: (config) => {
config.resolve.alias.canvas = false;
return config;
},
images: {
remotePatterns: [
{
protocol: "https",
hostname: "**",
},
],
},
experimental: {
missingSuspenseWithCSRBailout: false,
},
async rewrites() {
return [
{
source: "/analytics/:path*",
destination: `https://${process.env.NEXT_PUBLIC_ANALYTICS_URL}/:path*`,
},
];
},
};
export default nextConfig;