Node JS + Express , Fix Cors error in Normal +Debugging mode

preview_player
Показать описание
How to add debug configurations to Visual Studio Code to debug a Node js application running witn NPM scripts

below is the code to avoid the error "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http... "

sorry can't paste code with curly braces in the description , just pause and type the lines from the video :p
Рекомендации по теме
Комментарии
Автор

Unfortunately this video explains nothing about CORS. It is meant for newbies helping to configure a debug configuration in launch.json.

RealEstateD