fix vite port not being set for websocket dev connection

This commit is contained in:
SethBurkart123
2024-03-22 13:15:56 +11:00
parent 15f1f793b3
commit a7472511a2
+8
View File
@@ -21,4 +21,12 @@ export default defineConfig({
authToken: process.env.SENTRY_AUTH_TOKEN, authToken: process.env.SENTRY_AUTH_TOKEN,
}), }),
], ],
server: {
port: 5173,
hmr: {
host: "localhost",
protocol: "ws",
port: 5173,
},
},
}) })