Update apps.js

This commit is contained in:
frju365 2018-08-30 15:15:51 +02:00 committed by GitHub
parent 3d382c4fcd
commit 4eb8871527
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}