本文利用node.js 实现前端各种跨域方式。
包含以下几种:
1.cors
2.jsonp
3.window.name+iframe
4.location.hash+iframe
5.HTML5 postMessage
6.nginx 反向代理
7.node.js + express + http-proxy-middleware
8.webSocket
具体教程见
-
Notifications
You must be signed in to change notification settings - Fork 1
JChermy/cross-domain-practice
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Using node.js to practice a variety of cross domain methods in front end
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published