Why am I getting this error about cork()? #1068
-
I have this code:
all it's supposed to be doing is serving static files, and it seems to be working, but I keep getting this warning:
As far as I can tell, I'm doing everything like the documentation says. The only time I'm writing a response is from within |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Your route is synchronous so |
Beta Was this translation helpful? Give feedback.
You are trying to combine Socket.io with uWS.js here https://github.com/loliaravioli/web-hearthstone/blob/main/server.js
That is very likely giving the warning. Why did you leave that out from your report ??? Why would you use Socket.io ???? You don't need that, use uWS.js by itself