mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-01-11 22:40:22 +00:00
do not return cache headers for RD downloads meta
This commit is contained in:
parent
6c7b267764
commit
cb3f920fb3
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ builder.defineMetaHandler((args) => {
|
|||
return getMochItemMeta(mochKey, metaId, args.extra)
|
||||
.then(meta => ({
|
||||
meta: meta,
|
||||
cacheMaxAge: CACHE_MAX_AGE
|
||||
cacheMaxAge: metaId === 'Downloads' ? 0 : CACHE_MAX_AGE
|
||||
}))
|
||||
.catch(error => {
|
||||
return Promise.reject(`Failed retrieving catalog meta ${args.id}: ${JSON.stringify(error)}`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue