From a12658f785fd8a697f45502ef13b9d46a110fe08 Mon Sep 17 00:00:00 2001 From: "mathieu.brunot" Date: Wed, 26 Feb 2020 02:55:33 +0100 Subject: [PATCH 1/8] :bug: Fix error on Autodiscover Signed-off-by: mathieu.brunot --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index c73da60..bc60919 100644 --- a/index.js +++ b/index.js @@ -40,7 +40,7 @@ function *autodiscover() { email = ""; username = ""; domain = settings.domain; - } else if ( ~email.indexOf("@") ) { + } else if ( ~email.content.indexOf("@") ) { email = email.content; username = email.split("@")[0]; domain = email.split("@")[1]; @@ -88,7 +88,7 @@ router.get("/email.mobileconfig", function *autoconfig() { let username; let domain; - if (~email.indexOf("@") ) { + if ( ~email.indexOf("@") ) { username = email.split("@")[0]; domain = email.split("@")[1]; } else { From b9ac597e9ce5302a98ffcfa2b3346453094c2466 Mon Sep 17 00:00:00 2001 From: "mathieu.brunot" Date: Wed, 26 Feb 2020 03:26:27 +0100 Subject: [PATCH 2/8] :arrow_up: Upgrade Bootstrap to 4.4.1 Signed-off-by: mathieu.brunot --- views/index.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/views/index.html b/views/index.html index 45fd1ca..8b40804 100644 --- a/views/index.html +++ b/views/index.html @@ -11,8 +11,9 @@ {{info.name}} - +