#resist
This commit is contained in:
parent
261ebea529
commit
7a83c2c943
1 changed files with 0 additions and 2 deletions
|
@ -32,8 +32,6 @@ configureAfter(Angel app) async {
|
||||||
await app.sendRequest(e.request, req, res);
|
await app.sendRequest(e.request, req, res);
|
||||||
};
|
};
|
||||||
|
|
||||||
app.get('/trump', () => throw new Exception('MAGA'));
|
|
||||||
|
|
||||||
// Throw a 404 if no route matched the request
|
// Throw a 404 if no route matched the request
|
||||||
app.after.add(errors.throwError());
|
app.after.add(errors.throwError());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue