return error as object from server actions

This commit is contained in:
peintnermax
2024-09-16 14:41:38 +02:00
parent 7126f86c33
commit 4077353048
3 changed files with 12 additions and 10 deletions

View File

@@ -33,9 +33,6 @@ const secureHeaders = [
const nextConfig = {
reactStrictMode: true, // Recommended for the `pages` directory, default in `app`.
swcMinify: true,
experimental: {
serverComponentsErrorOverride: true,
},
images: {
remotePatterns: [
{