Skip to content

Commit 97511d4

Browse files
committed
fix(proxy): disable passthrough websockets
1 parent 5a84116 commit 97511d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/proxy.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export async function initializeProxy() {
3333
)
3434
.thenForwardTo(`http://localhost:${ENV.NITRO_PORT}`)
3535

36+
await server.forAnyWebSocket().thenPassThrough()
3637
await server.forUnmatchedRequest().thenPassThrough()
3738

3839
await server.start(port)

0 commit comments

Comments
 (0)