mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-31 14:58:05 +00:00
Performance improvements and cleanup
This commit is contained in:
@@ -2,7 +2,7 @@ import { existsSync, readFileSync, writeFileSync } from 'node:fs';
|
||||
|
||||
let youtubeData: youtubeDataOptions;
|
||||
if (existsSync('.data/youtube.data')) {
|
||||
youtubeData = JSON.parse(readFileSync('.data/youtube.data').toString());
|
||||
youtubeData = JSON.parse(readFileSync('.data/youtube.data', 'utf-8'));
|
||||
youtubeData.file = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user