score:0

var express = require('express')
var cors = require('cors')
var app = express()

var corsOptions = {
origin: 'http://localhost:3000',
}

app.use(cors(corsOptions))

Related Query

More Query from same tag