fix(core): update

This commit is contained in:
2022-07-29 01:23:17 +02:00
parent 08f382b9fa
commit 30896b045f
2 changed files with 5 additions and 2 deletions

View File

@@ -121,7 +121,10 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
console.log('got request');
const destinationConfig = this.router.routeReq(req);
// endRequest function
/**
* endRequest function
* can be used to prematurely end a request
*/
const endRequest = (
statusArg: number = 404,
messageArg: string = 'This route is not available on this server.',