mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Update apps.js
This commit is contained in:
parent
3d382c4fcd
commit
4eb8871527
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@
|
||||||
rawpath = 'raw/master/manifest.json';
|
rawpath = 'raw/master/manifest.json';
|
||||||
var giturl = params.app + rawpath;
|
var giturl = params.app + rawpath;
|
||||||
} // Install custom app from github
|
} // 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';
|
rawpath = 'master/manifest.json';
|
||||||
var giturl = params.app.replace('github.com', 'raw.githubusercontent.com') + rawpath;
|
var giturl = params.app.replace('github.com', 'raw.githubusercontent.com') + rawpath;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue