SyntaxFix
Write A Post
Hire A Developer
Questions
$ npm install cors
After installing cors from npm add the code below to your node app file. It solved my problem.
var express = require('express') var cors = require('cors') var app = express() app.use(cors())