using koa2"s middleware, I want to implement an interceptor in order to perform some processing on all requests. The code is as follows:
when visiting /, the middleware is executed and / and 1111 are printed at the terminal, but the page shows that it is no problem for not found, to remove the middleware.
I don"t know why, ask the great god for an answer.