proxy websocket url

This commit is contained in:
Joel Mathew Thomas
2025-03-20 00:53:16 +05:30
parent 710956608d
commit 0d2ecc9d3d
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -10,6 +10,11 @@ export default defineConfig({
target: 'http://localhost:8000',
changeOrigin: true,
},
'/ws': {
target: "ws://localhost:8000",
ws: true,
changeOrigin: true,
}
},
},
})