update url
This commit is contained in:
parent
a63d014a1c
commit
98ab612abb
|
|
@ -26,7 +26,7 @@ export default defineConfig(({ command, mode }) => {
|
||||||
port: env.VITE_PORT || 5173,
|
port: env.VITE_PORT || 5173,
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'https://fucai-redeem.smartjinrui.cn/api/',
|
target: 'https://fucai-claim.smartjinrui.cn/api/',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (path) => path.replace(/^\/api/, '/')
|
rewrite: (path) => path.replace(/^\/api/, '/')
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue