mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-07 03:57:06 +03:00
Fix youtube api cache key
This commit is contained in:
@@ -10,7 +10,7 @@ export class YouTubeAPI {
|
|||||||
return { err: "Invalid video ID" };
|
return { err: "Invalid video ID" };
|
||||||
}
|
}
|
||||||
|
|
||||||
const cacheKey = `yt.newleaf.video.$[videoID}`;
|
const cacheKey = `yt.newleaf.video.${videoID}`;
|
||||||
if (!ignoreCache) {
|
if (!ignoreCache) {
|
||||||
try {
|
try {
|
||||||
const data = await DiskCache.get(cacheKey);
|
const data = await DiskCache.get(cacheKey);
|
||||||
|
|||||||
Reference in New Issue
Block a user