From 179cb09b58b6f441e51b4a8d8464416792c3ee1a Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Wed, 24 Nov 2021 22:13:34 +0100 Subject: [PATCH] back/Application: fix fallback error template view name --- src/Application.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Application.ts b/src/Application.ts index b4aa287..9dc100a 100644 --- a/src/Application.ts +++ b/src/Application.ts @@ -200,7 +200,7 @@ export default abstract class Application implements Extendable { if (err) { - res.render('errors/Error', locals); + res.render('templates/ErrorTemplate', locals); } else { res.send(html); }