mail autoconfig: also serve /mail/config-v1.1.xml

This commit is contained in:
Alice Gaudon 2020-11-08 11:02:07 +01:00
parent 40c36ef1e1
commit ed3fa80ee1
1 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,10 @@ import config from "config";
export default class MailAutoConfigController extends Controller {
public routes(): void {
this.get('/.well-known/autoconfig/mail/config-v1.1.xml', this.getAutoConfig, 'mail-auto-config');
this.get([
'/.well-known/autoconfig/mail/config-v1.1.xml',
'/mail/config-v1.1.xml',
], this.getAutoConfig, 'mail-auto-config');
}
/**