Add devcontainer configuration for codespace support (#138)

This commit is contained in:
dcbr
2024-04-13 18:57:47 +02:00
committed by GitHub
parent 2fd38aadd9
commit 1ad470309b
3 changed files with 81 additions and 0 deletions

View File

@@ -23,6 +23,12 @@ const nextConfig = {
images: {
remotePatterns
},
// Required to run in a codespace (see https://github.com/vercel/next.js/issues/58019)
experimental: {
serverActions: {
allowedOrigins: ['localhost:3000'],
},
},
}
module.exports = nextConfig