Commit 772498e
committed
feat: 添加404请求的控制台日志打印
- 当请求路径不匹配任何路由时,在控制台打印404日志
- 格式为: 404 - [HTTP方法] [路径]
- 便于调试和监控未匹配的请求1 parent 4222367 commit 772498e
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| 283 | + | |
283 | 284 | | |
284 | 285 | | |
0 commit comments