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
renderer 的 server.proxy 配置,在单独的WEB项目可以,放到vite这里代理失效;
renderer: { server: { proxy: { '/api': { target: 'https://www....', changeOrigin: true, ws: true, headers: { Referer: 'https://www.....' }, rewrite: [Function: rewrite], secure: false } } } }
2.3.0
25.9.8
5.3.1
The text was updated successfully, but these errors were encountered:
我也有这样的问题 打包后就不行
Sorry, something went wrong.
请确认是否csp问题,无更多详细信息
No branches or pull requests
Describe the bug
renderer 的 server.proxy 配置,在单独的WEB项目可以,放到vite这里代理失效;
Electron-Vite Version
2.3.0
Electron Version
25.9.8
Vite Version
5.3.1
Validations
The text was updated successfully, but these errors were encountered: