Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何使用proxy #23

Closed
rockyuse opened this issue Dec 13, 2016 · 2 comments
Closed

如何使用proxy #23

rockyuse opened this issue Dec 13, 2016 · 2 comments

Comments

@rockyuse
Copy link

使用http-proxy-middleware没有生效
app.use('/canvas', proxy({target: 'http://10.109.4.25', changeOrigin: true}));
请问是哪里的配置给阻断了呢?

@kenberkeley
Copy link
Owner

@kenberkeley
Copy link
Owner

当前 demo 是直连 RESTful API 的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants