0

I use rewrites() to solve CORS error and it works , But dynamic routing does not work because of rewrites() - source & destination (I think dynamic routing does not work because of -> "/:path*" )

1

I expect no CORS error and Dynamic routing at Next.config.js

(or I can Seperate api at other folder and no rewrites , but when i call api it occur CORS error )

vimuth
  • 5,064
  • 33
  • 79
  • 116
attosiss
  • 1
  • 1

0 Answers0