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*
" )
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 )