fix: revert "chore: bump dependencies and license year (#986)" (#1047)

This commit is contained in:
Yoshiya Hinosawa
2023-02-25 18:11:16 +09:00
committed by GitHub
parent 5bb67aff1f
commit 8daa4849cf
15 changed files with 39 additions and 44 deletions
+4 -6
View File
@@ -374,10 +374,8 @@ export class ServerContext {
*/
#handlers(): [
rutt.Routes<RouterState>,
{
otherHandler: rutt.Handler<RouterState>;
errorHandler: rutt.ErrorHandler<RouterState>;
},
rutt.Handler<RouterState>,
rutt.ErrorHandler<RouterState>,
] {
const routes: rutt.Routes<RouterState> = {};
@@ -524,7 +522,7 @@ export class ServerContext {
}
}
const otherHandler: rutt.Handler<RouterState> = (
const unknownHandler: rutt.Handler<RouterState> = (
req,
ctx,
) =>
@@ -560,7 +558,7 @@ export class ServerContext {
);
};
return [routes, { otherHandler, errorHandler }];
return [routes, unknownHandler, errorHandler];
}
#staticFileHandler(