You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I just want to mention that Koa isn't tested against deno by the maintainers as far as I know so bugs might occur even though technically it "should just work" :)
But the reason this has unexpected response is because of this middleware:
That's not a function signature supported by Koa. Also there's nothing in that middleware calling next so logically the request isn't expected to reach your router (which is added to the middleware chain after said middleware).
deno run -A mod.js
http://localhost:1993
1
2
3
4
GET / - 1053ms
The page responds with 404 Not Found
The text was updated successfully, but these errors were encountered: