update url

This commit is contained in:
weichengwu 2025-11-17 10:59:44 +08:00
parent a63d014a1c
commit 98ab612abb
1 changed files with 1 additions and 1 deletions

View File

@ -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/, '/')
} }