-
Hello, I'm running a rudimentary chat service and I use Oak for both serving static files, and upgrading to a WebSocket for real time communication. However I see lots of entries in the logs about 404 errors on my WebSocket route. I.e. "404 GET /web-socket/lobby - 60025ms". What am I doing wrong, or not doing? Here's the relevant router block:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
-
Actually I figured it out. I was using a logger middleware that should ignore requests for which |
Beta Was this translation helpful? Give feedback.
Actually I figured it out. I was using a logger middleware that should ignore requests for which
context.respond
was set to false.