- Install
cors
library:npm i cors
- Add the following code:
const express = require("express")
var cors = require("cors")
const app = express()
app.use(cors())
- Check out how to configure it in their docs.
cors
library: npm i cors
const express = require("express")
var cors = require("cors")
const app = express()
app.use(cors())
For further actions, you may consider blocking this person and/or reporting abuse
Saddam Hossain -
zarr -
Jacopo Marrone @tresorama -
Daniel Pepuho -
Top comments (0)