Files
mahjong-web/vite.config.ts
wsy182 fcb9a02c68 ```
fix(backend): resolve merge conflicts and update API proxy configuration

- Remove leftover merge conflict markers from ChengduGamePage.vue
- Fix broken HTML structure by properly closing header and section tags
- Update proxy configuration to point to correct backend port (19000)
- Clean up import statements and remove conflicting code blocks
```
2026-03-24 09:36:58 +08:00

18 lines
347 B
TypeScript

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
server: {
proxy: {
'/api/v1': {
target: 'http://127.0.0.1:19000',
changeOrigin: true,
},
'/api/v1/ws': {
target: 'ws://127.0.0.1:19000',
ws: true,
}
}
}
})