mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-22 20:13:36 +00:00
fix
This commit is contained in:
@@ -94,7 +94,7 @@ export class DownloadService {
|
||||
|
||||
@bindThis
|
||||
public async downloadUrl(url: string, path: string): Promise<void> {
|
||||
await this.pipeRequestToFile(this.gotUrl(url), path);
|
||||
await this.pipeRequestToFile(this.fetchUrl(url), path);
|
||||
this.logger.succ(`Download finished: ${chalk.cyan(url)}`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user