79691554

Date: 2025-07-06 07:19:03
Score: 1
Natty:
Report link

This issue is fixed now, basically 2 changes I had to do.

  1. add allowedOrigins in the next.config file :
 experimental: {
    serverActions: {
      allowedOrigins: [
        'localhost:3000',
      ]
    }
  }
  1. next.config.ts file should be present in the final docker build also.
COPY --from=builder /app/next.config.ts ./
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mazz