乏mily

导航

2020年9月2日 #

.net core 3.1 中 的跨域设置

摘要: 1、ConfigureServices中添加 //添加cors 服务 配置跨域处理 services.AddCors(options => { options.AddPolicy("any", builder => { builder.SetIsOriginAllowed(_ => true) .A 阅读全文

posted @ 2020-09-02 17:03 乏mily 阅读(233) 评论(0) 推荐(0) 编辑