ws

true to proxy WebSockets.

Example

vite {
server {
proxy("/foo", "http://localhost:4567", ws = true)
}
}

External resources