We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
3.1.1
Node 10.13.0
proxy: [ { context: '/ajax', target: 'https://localhost:3000', }, { context: function (pathname, req) { const env = getPathnameEnv(pathname); return env === 'online'; }, target: 'https://localhost:8081', changeOrigin: true, }, ]
增强proxy, 对齐 webpack devServer的proxy 支持proxy数组与 http-proxy-middleware中所有格式的context, 例如
目前不支持数组类型的proxy, 也不支持自定义函数的context
The text was updated successfully, but these errors were encountered:
增强proxy: 对齐webpack devServer的proxy
516a9da
vuejs#2868
No branches or pull requests
Version
3.1.1
Node and OS info
Node 10.13.0
Steps to reproduce
What is expected?
增强proxy, 对齐 webpack devServer的proxy
支持proxy数组与 http-proxy-middleware中所有格式的context, 例如
What is actually happening?
目前不支持数组类型的proxy, 也不支持自定义函数的context
The text was updated successfully, but these errors were encountered: