import express from 'express';
import {
addDetectionResult } from '../../../controller/client-test/index';
const router = express.Router();
router.all('*', (req, res, next) => {
res.header('Access-Control-Allow-Origin', '*');
res.header('Access-Control-Allow-Headers', 'X-Requested-With');
res.header('Access-Control-Allow-Methods', 'PUT,POST,GET,DELETE,OPTIONS');
res.header('X-Powered-By', ' 3.2.1');
res.header('Con
express 允许跨域
最新推荐文章于 2024-03-05 17:02:02 发布