Исправления багов скачивания файла в режиме RemoteLib

This commit is contained in:
Book Pauk
2022-11-01 01:53:39 +07:00
parent b56eeaa024
commit 037d1aa022
2 changed files with 12 additions and 9 deletions

View File

@@ -65,7 +65,7 @@ class RemoteLib {
const buf = await this.down.load(`${this.remoteHost}${link}`, {decompress: false});
const publicPath = `${this.config.publicDir}${link}`;
const publicPath = `${this.config.publicFilesDir}${link}`;
await fs.writeFile(publicPath, buf);