Files
evidencija-rezija/next.config.js

15 lines
850 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
// Possible options:
// - `undefined`: The default build output, `.next` directory, that works with production mode `next start` or a hosting provider like Vercel
// - `'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;