摘要: 在var app = builder.Build();之前添加 string[] url = new[] { "localhost:3000" };//允许跨域访问的前端端口 builder.Services.AddCors(opt => { opt.AddDefaultPolicy(build = 阅读全文
posted @ 2022-01-21 09:18 后跳 阅读(50) 评论(0) 推荐(0) 编辑