mail autoconfig: fix route priority (conflict with MailController)

This commit is contained in:
Alice Gaudon 2020-11-08 11:38:07 +01:00
parent 3b5b27b6a2
commit 5937798c2e

View File

@ -137,12 +137,12 @@ export default class App extends Application {
this.use(new BackendController()); this.use(new BackendController());
this.use(new MailboxBackendController()); this.use(new MailboxBackendController());
this.use(new AuthController()); this.use(new AuthController());
this.use(new MailAutoConfigController()); // Needs to override MailController
// Core functionality // Core functionality
this.use(new MailController()); this.use(new MailController());
// Other functionnality // Other functionnality
this.use(new MailAutoConfigController());
// Semi-static routes // Semi-static routes
this.use(new HomeController()); this.use(new HomeController());