📅  最后修改于: 2022-03-11 15:04:09.940000             🧑  作者: Mango
// Install cors package: npm install cors
const express = require("express");
const app = express();
const cors = require('cors');
app.use(cors());
// your http request should work after this