mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-26 06:30:58 +03:00
Updated logs viewer component
- now by default last 50 lines are showed
- added copy to clipboard button
- added loading spinner to indicate to users when the logs are loading
app.get('/api/logs') is now app.post to allow for additional parameters (such as lines to retrieve)
This commit is contained in:
@@ -234,8 +234,8 @@ export class PostsService implements CanActivate {
|
||||
return this.http.post(this.path + 'getVideoInfos', {fileNames: fileNames, type: type, urlMode: urlMode}, this.httpOptions);
|
||||
}
|
||||
|
||||
getLogs() {
|
||||
return this.http.get(this.path + 'logs', this.httpOptions);
|
||||
getLogs(lines = 50) {
|
||||
return this.http.post(this.path + 'logs', {lines: lines}, this.httpOptions);
|
||||
}
|
||||
|
||||
isPinSet() {
|
||||
|
||||
Reference in New Issue
Block a user