core跨域问题

#region 跨域问题
app.UseCors(builder => builder
.AllowAnyOrigin()
.AllowAnyMethod()
.AllowAnyHeader()
.AllowCredentials());
#endregion

posted on 2019-01-26 18:33  FFFYYY  阅读(559)  评论(0编辑  收藏  举报