.net core 3.1 中 的跨域设置
摘要:1、ConfigureServices中添加 //添加cors 服务 配置跨域处理 services.AddCors(options => { options.AddPolicy("any", builder => { builder.SetIsOriginAllowed(_ => true) .A
阅读全文
posted @ 2020-09-02 17:03
posted @ 2020-09-02 17:03