-
使用时 需要修改 63342为本地的端口 var port = process.env.PORT|| 63342;
-
设置要代理的到的地址 proxy.setProxy(app,'/api/weather','http://op.juhe.cn/onebox/weather/query');
-
Notifications
You must be signed in to change notification settings - Fork 1
ImIsACoder/http-proxy
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
node 跨域代理
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published