We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe2f98b commit d04e9f6Copy full SHA for d04e9f6
src/utils/psCache.mjs
@@ -55,8 +55,8 @@ class PSCache {
55
let match;
56
if ((match = /\/\d+-\d+-([0-9a-zA-Z]+)\//.exec(key))) key = match[1];
57
else if ((match = /(?:&|\?)fileid=([^&]+)/.exec(key))) {
58
- const parts = key.split('_');
59
- key = parts.length === 4 ? parts.slice(0, 3).join('_') : match[1];
+ const parts = match[1].split('_');
+ key = parts[0];
60
}
61
62
return Path.resolve(__dirname, '../../data/pscache', `${md5(key)}.${db}.psc`);
0 commit comments