摘要: main.ts添加 app.enableCors(corsOptionsDelegate); import { Request } from 'express'; //设置允许访问的域名 const allowlist = ['http://localhost:8080']; const corsO 阅读全文
posted @ 2022-05-10 21:34 羽鱼 阅读(1078) 评论(0) 推荐(0)