Proxy websockets in devcontainers (#8886)

* proxy websockets

* remove whitespace
This commit is contained in:
Josh Hawkins 2023-12-07 19:08:35 -06:00 committed by GitHub
parent a47068922f
commit a4f5ad3a94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,16 @@ export default defineConfig({
},
'/exports': {
target: 'http://localhost:5000'
}
},
'/ws': {
target: 'ws://localhost:5000',
ws: true,
},
'/live': {
target: 'ws://localhost:5000',
changeOrigin: true,
ws: true,
},
}
},
plugins: [