From 4eb887152737b0f7849d81de56282ac8430694c0 Mon Sep 17 00:00:00 2001 From: frju365 Date: Thu, 30 Aug 2018 15:15:51 +0200 Subject: [PATCH] Update apps.js --- src/js/yunohost/controllers/apps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/yunohost/controllers/apps.js b/src/js/yunohost/controllers/apps.js index 0c4e4992..852f7d76 100644 --- a/src/js/yunohost/controllers/apps.js +++ b/src/js/yunohost/controllers/apps.js @@ -470,7 +470,7 @@ rawpath = 'raw/master/manifest.json'; var giturl = params.app + rawpath; } // Install custom app from github - else if (params.app.indexOf("github.com") !== "-1") { + else if (params.app.indexOf("github.com") !== -1) { rawpath = 'master/manifest.json'; var giturl = params.app.replace('github.com', 'raw.githubusercontent.com') + rawpath; }