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
在 vite.config.ts 中下面代码有问题 proxy: { [env.VITE_APP_API_PREFIX]: { target: env.VITE_APP_API_HOST + env.VITE_APP_API_PREFIX, changeOrigin: true, secure: false, }, 会导致 目标多一层 ‘api’ 改为 target: env.VITE_APP_API_HOST 后正常
No response
- OS:Ubuntu 22.0.4 - NVIDIA Driver:545.23.08 - CUDA:12.3 - Docker Compose:1.29.2 - NVIDIA GPU Memory:24GB
The text was updated successfully, but these errors were encountered:
No branches or pull requests
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
当前行为 | Current Behavior
在 vite.config.ts 中下面代码有问题
proxy: {
[env.VITE_APP_API_PREFIX]: {
target: env.VITE_APP_API_HOST + env.VITE_APP_API_PREFIX,
changeOrigin: true,
secure: false,
},
会导致 目标多一层 ‘api’
改为 target: env.VITE_APP_API_HOST 后正常
期望行为 | Expected Behavior
No response
运行环境 | Environment
QAnything日志 | QAnything logs
No response
复现方法 | Steps To Reproduce
No response
备注 | Anything else?
No response
The text was updated successfully, but these errors were encountered: