next.config: configured allowred domains

This commit is contained in:
2024-01-10 20:46:39 +01:00
parent c8bc4f292d
commit d9e4b07c60

View File

@@ -5,6 +5,10 @@ const nextConfig = {
// - `'standalone'`: A standalone build output, `.next/standalone` directory, that only includes necessary files/dependencies. Useful for self-hosting in a Docker container.
// - `'export'`: An exported build output, `out` directory, that only includes static HTML/CSS/JS. Useful for self-hosting without a Node.js server.
output: "standalone", // needed for running the app in a Docker container
experimental: {
// https://github.com/vercel/next.js/issues/58295
serverActions: { allowedOrigins: ["rezije.app", "rezije.app:80", "localhost:3001"], }
}
};
module.exports = nextConfig;