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
build.json
{ "publicPath": "/static/", "vite": true, "plugins": [ [ "build-plugin-ignore-style", { "libraryName": "antd" } ] ], "modeConfig": { "dev": { "publicPath": "./", "minify": false, "proxy": { "/**": { "enable": true, "target": "http://localhost:17310" } } } } }
请求都访问proxy的target
请求还是打到了localhost:3333, 找不到api
2.6.10
No response
The text was updated successfully, but these errors were encountered:
默认直接使用了 webpack 的 proxy 能力,可以确认下
Sorry, something went wrong.
No branches or pull requests
Describe the bug
build.json
{ "publicPath": "/static/", "vite": true, "plugins": [ [ "build-plugin-ignore-style", { "libraryName": "antd" } ] ], "modeConfig": { "dev": { "publicPath": "./", "minify": false, "proxy": { "/**": { "enable": true, "target": "http://localhost:17310" } } } } }
Expected behavior
请求都访问proxy的target
Actual behavior
请求还是打到了localhost:3333, 找不到api
Version of ice.js
2.6.10
Content of build.json or ice.config.mts
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: