Cleaned up app.js backend code

This commit is contained in:
Isaac Abadi
2021-08-09 00:21:36 -06:00
parent 0360469c5a
commit 8cc653787f
3 changed files with 38 additions and 624 deletions

View File

@@ -295,8 +295,8 @@ export class PostsService implements CanActivate {
return this.http.post(this.path + 'downloadArchive', {sub: sub}, {responseType: 'blob', params: this.httpOptions.params});
}
getFileInfo(fileNames, type, urlMode) {
return this.http.post(this.path + 'getVideoInfos', {fileNames: fileNames, type: type, urlMode: urlMode}, this.httpOptions);
getFileFormats(url) {
return this.http.post(this.path + 'getFileFormats', {url: url}, this.httpOptions);
}
getLogs(lines = 50) {