Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

cors problem node js

//install package =>   npm i cors
const cors = require('cors');
const app = express()
app.use(cors()); // use this cors in middleware and done
Source by expressjs.com #
 
PREVIOUS NEXT
Tagged: #cors #problem #node #js
ADD COMMENT
Topic
Name
3+1 =