From c083a1bfa878f46d51e0906b802331d2a5393e5b Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Fri, 13 Dec 2024 10:26:31 +0800 Subject: [PATCH] fix: serverActions allowedOrigins --- next.config.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/next.config.mjs b/next.config.mjs index 74a9eb5..20ca34c 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -24,6 +24,9 @@ const withPWA = withPWAInit({ const nextConfig = { experimental: { inlineCss: true, + serverActions: { + allowedOrigins: ["*"], + }, }, output: "standalone", logging: {