This commit is contained in:
2020-06-25 14:02:06 +00:00
parent 186d4858fa
commit 39c6e1923b
3 changed files with 28 additions and 7 deletions

View File

@@ -329,6 +329,16 @@ export default {
return window.$gz.store.state.helpUrl.replace("/docs/", "/");
},
/////////////////////////////
// generic routed download URL
//
genericDownloadUrl(route) {
//http://localhost:7575/api/v8/backup/download/100?t=sssss
let url = route + "?t=" + window.$gz.store.state.downloadToken;
return this.APIUrl(url);
},
/////////////////////////////
// backup file download URL
//
backupDownloadUrl(fileName) {