Fix dl issue
This commit is contained in:
@@ -31,8 +31,8 @@ export class VideoProcessingService {
|
||||
return this.http.post<any>(`${this.apiUrl}/processUpdate`, data);
|
||||
}
|
||||
|
||||
downloadFile(filePath: string): Observable<Blob> {
|
||||
return this.http.get(`${this.apiUrl}/download${filePath}`, { responseType: 'blob' });
|
||||
downloadFile(filename: string): Observable<Blob> {
|
||||
return this.http.get(`${this.apiUrl}/download?filename=${encodeURIComponent(filename)}`, { responseType: 'blob' });
|
||||
}
|
||||
|
||||
flushQueue(): Observable<any> {
|
||||
|
||||
Reference in New Issue
Block a user