Files
WebSpeak-client-for-TeamSpeak/web/vite.config.ts
T
2026-08-31 15:43:50 +08:00

17 lines
303 B
TypeScript

import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
export default defineConfig({
plugins: [vue()],
server: {
port: 5173,
proxy: {
"/api": "http://localhost:3030",
"/ws": {
target: "ws://localhost:3030",
ws: true,
},
},
},
});