From 5937798c2eb19d50dc9e4bc6508a010258bbf119 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Sun, 8 Nov 2020 11:38:07 +0100 Subject: [PATCH] mail autoconfig: fix route priority (conflict with MailController) --- src/App.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.ts b/src/App.ts index aff252d..f71cd99 100644 --- a/src/App.ts +++ b/src/App.ts @@ -137,12 +137,12 @@ export default class App extends Application { this.use(new BackendController()); this.use(new MailboxBackendController()); this.use(new AuthController()); + this.use(new MailAutoConfigController()); // Needs to override MailController // Core functionality this.use(new MailController()); // Other functionnality - this.use(new MailAutoConfigController()); // Semi-static routes this.use(new HomeController());