Why am I getting this error about cork()? #1068
Answered
by
e3dio
loliaravioli
asked this question in
Q&A
|
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 |
Answered by
e3dio
Jun 12, 2024
Replies: 1 comment 9 replies
|
Your route is synchronous so |
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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