Javascript – NextJS cors error in page but not in API route
I have a nextjs application and when I execute a call to fetch a page from an external website if I do it from the backend via an API route everything works fine however when I do it from the…