ws
true
to proxy WebSockets.
Example
vite {
server {
proxy("/foo", "http://localhost:4567", ws = true)
}
}
Content copied to clipboard
true
to proxy WebSockets.
vite {
server {
proxy("/foo", "http://localhost:4567", ws = true)
}
}