fix: whitelist server action proxies

This commit is contained in:
Simon Emanuelsson
2024-06-24 12:40:55 +02:00
parent 788bfd3568
commit be47e42163
9 changed files with 66 additions and 49 deletions

View File

@@ -11,6 +11,16 @@ jiti("./env/client")
const nextConfig = {
poweredByHeader: false,
eslint: { ignoreDuringBuilds: true },
experimental: {
serverActions: {
allowedOrigins: [
"*--web-scandic-hotels.netlify.app",
"develop--web-scandic-hotels.netlify.app",
"stage--web-scandic-hotels.netlify.app",
"test--web-scandic-hotels.netlify.app",
],
},
},
images: {
remotePatterns: [
{