From d9e4b07c605fc8ea63c8d87a82406897c265ed66 Mon Sep 17 00:00:00 2001 From: knee-cola Date: Wed, 10 Jan 2024 20:46:39 +0100 Subject: [PATCH] next.config: configured allowred domains --- next.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/next.config.js b/next.config.js index 5802f91..04864ae 100644 --- a/next.config.js +++ b/next.config.js @@ -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;