From df67dd6a440ce1d2bc69798a75103a1b1b79127a Mon Sep 17 00:00:00 2001 From: frju365 <19982894+frju365@users.noreply.github.com> Date: Fri, 22 Jun 2018 15:58:17 +0200 Subject: [PATCH] [enh] Add ynh.fr (#199) * Update postinstall.js * Update domains.js --- src/js/yunohost/controllers/domains.js | 2 +- src/js/yunohost/controllers/postinstall.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/yunohost/controllers/domains.js b/src/js/yunohost/controllers/domains.js index 94096d4b..259b8b08 100644 --- a/src/js/yunohost/controllers/domains.js +++ b/src/js/yunohost/controllers/domains.js @@ -40,7 +40,7 @@ c.params.ddomains = data.map(function(dom){return '.'+dom;}); }) .fail(function() { - c.params.ddomains = ['.nohost.me', '.noho.st']; + c.params.ddomains = ['.nohost.me', '.noho.st', '.ynh.fr']; }) .always(function() { var data = { diff --git a/src/js/yunohost/controllers/postinstall.js b/src/js/yunohost/controllers/postinstall.js index 8f9834be..3760920c 100644 --- a/src/js/yunohost/controllers/postinstall.js +++ b/src/js/yunohost/controllers/postinstall.js @@ -28,7 +28,7 @@ c.params['ddomains'] = data.map(function(dom){return '.'+dom;}); }) .fail(function() { - c.params['ddomains'] = ['.nohost.me', '.noho.st']; + c.params['ddomains'] = ['.nohost.me', '.noho.st', '.ynh.fr']; }) .always(function() { c.view('postinstall/postinstall_2', c.params, function() { @@ -102,4 +102,4 @@ } }); -})(); \ No newline at end of file +})();