摘要: // 跨域 // 设置只允许特定来源可以跨域 app.UseCors(options => { options.WithOrigins("http://localhost:5000", "http://127.0.0.1"); // 允许特定ip跨域 options.AllowAnyHeader() 阅读全文
posted @ 2020-03-16 14:15 超难微猫 阅读(596) 评论(0) 推荐(0) 编辑