We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
devServer:{ historyApiFallback: true, hot: true, inline: true, proxy:{ '/api': { target: 'http://example.com:8080', secure: false, changeOrigin: true, pathRewrite:{ '^/api':'/api' } } } }
如此配置之后依然无法转发和跨域,参考了goole到的几篇文章,似乎都是这样配的。 参考地址1:https://segmentfault.com/q/1010000011222653 参考地址2:https://hk.saowen.com/a/1bfaaf0ee2020d8736982c9214aeffb83e1fac39b84eacac46388775de49cb38
The text was updated successfully, but these errors were encountered:
No branches or pull requests
如此配置之后依然无法转发和跨域,参考了goole到的几篇文章,似乎都是这样配的。
参考地址1:https://segmentfault.com/q/1010000011222653
参考地址2:https://hk.saowen.com/a/1bfaaf0ee2020d8736982c9214aeffb83e1fac39b84eacac46388775de49cb38
The text was updated successfully, but these errors were encountered: