— Then add it in server .. like this
Const cors =require ("cors");
,,,,
App.use(cors);
— That should be all .. tell me if works
— Or you can start browser in terminal with the flags to allow crosa origin request
— This sounds terribly insecure
— But browser are made to never allow cors .. so you gotta hack your way
— For chrome there is a simple extension where you can enable or disable cors with one click
— For chrome there is a simple extension where you can enable or disable cors with one click
— No, server does not work. i use express
— The problem is the server