next.config: configured allowred domains
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user