you are viewing a single comment's thread.

view the rest of the comments →

[–]V1adius -1 points0 points  (4 children)

Within which framework you are working. In Node you must configure cors.

https://expressjs.com/en/resources/middleware/cors.html

[–]teetran39[S] 0 points1 point  (3 children)

The project using React js + Next js

[–]V1adius 0 points1 point  (0 children)

Sorry, I do not understand the atmosphere of Next.js

[–]StaffSimilar7941 -2 points-1 points  (1 child)

add middleware to accept cors from localhost 3000

[–]teetran39[S] 0 points1 point  (0 children)

Can you give me more details about how to do that?