92

一种方便的跨域开发解决方案

 6 years ago
source link: https://juejin.im/post/5ab1b8eb5188255580021bcc
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
现在越来越多的 Web 项目都采取前后端分离的开发方式,也就是在开发过程中前端工程运行在一个 node server 上,同时提供 REST API 的后端工程作为独立的服务运行在另一个 server 上,这样前后端通过 HTTP 请求进行通信的时候就会遇到跨

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK