- 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
Manu Nunez -
Valerii Popov -
Mike Young -
Mike Young -
Top comments (0)