会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
进军的蜗牛
博客园
首页
联系
管理
订阅
2021年6月30日
koa2 设置Access-Control-Allow-Origin 解决前端跨域问题
摘要: 文章原文:https://www.cnblogs.com/yalong/p/14954672.html 跨域资源共享(CORS) 详解看这里: https://www.ruanyifeng.com/blog/2016/04/cors.html koa2 实现对post请求的跨域资源共享,只需加入如下
阅读全文
posted @ 2021-06-30 15:30 进军的蜗牛
阅读(2743)
评论(0)
推荐(0)
编辑