Answers for "access-control-allow-origin"

0

access-control-allow-origin

app.use(function(req, res, next) {
  res.header("Access-Control-Allow-Origin", "*");
  res.header("Access-Control-Allow-Headers", "X-Requested-With");
  next();
  });
Posted by: Guest on June-15-2021

Code answers related to "access-control-allow-origin"

Code answers related to "Javascript"

Browse Popular Code Answers by Language