ws that starts to work

This commit is contained in:
polv committed 2026-01-25 19:52:12 +07:00
1 parent fc58e68ad7
commit 0f4458912f
7 files changed
+178 -47

No files matched your search

+8 -1
View File
@@ -29,7 +29,14 @@ export default defineConfig({
},
vite: {
clearScreen: false,
server: {
server: {
proxy: {
'/socket': {
target: 'ws://localhost:8080',
ws: true,
rewriteWsOrigin: true,
}
},
// make sure this port matches the devUrl port in tauri.conf.json file
port: 5173,
// Tauri expects a fixed port, fail if that port is not available