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 ```
18 lines
347 B
TypeScript
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,
|
|
}
|
|
}
|
|
}
|
|
}) |