Javascript – CORS policy defined in next.config.js doesn't seem to be applied to API call
I have a Next.js app with the following structure: . ├── next.config.js └── src / └── app/ ├── page.tsx └── getYoutubeTranscript/ └── getYoutubeTranscript.tsx next.config.js has the following policy defined: // @ts-check /** @type {import('next').NextConfig} */ const nextConfig = { async…