Replies: 1 comment
-
I seem to solve it, just put the first one to the last one # rsbuild.config.mjs
server: {
proxy: {
'/api/cms/aaa': {
target: 'https://aaa-api.demo.com',
},
'/api/cms/bbb': {
target: 'https://bbb-api.demo.com'
},
'/api/cms/ccc': {
target: 'https://ccc-api.demo.com'
},
'/api/cms/ddd': {
target: 'https://ddd-api.demo.com'
},
'/api/cms/xxx': {
target: 'https://xxx-api.demo.com'
},
'/api/cms': {
target: 'https://api.demo.com'
},
}
}
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are the old Vue-CLI3 project. The multiple microservices of our background in the project are judged based on the suffix on the URL,I now migrate this configuration in Vue-CLI3 to proxy on RSBUILD. He cannot distinguish AAA/BBB/CCC
Beta Was this translation helpful? Give feedback.
All reactions