Update i.mjh.nz.config.js

This commit is contained in:
freearhey 2023-06-23 13:37:58 +03:00
parent 20a6813bec
commit 6fdf65e78a

View file

@ -13,10 +13,11 @@ module.exports = {
site: 'i.mjh.nz', site: 'i.mjh.nz',
days: 2, days: 2,
request: { request: {
timeout: 30000, // 30s
cache: { cache: {
ttl: 3 * 60 * 60 * 1000 // 3h ttl: 3 * 60 * 60 * 1000 // 3h
}, },
maxContentLength: 30 * 1024 * 1024 // 30Mb maxContentLength: 100 * 1024 * 1024 // 100Mb
}, },
url: function ({ channel }) { url: function ({ channel }) {
const [path] = channel.site_id.split('#') const [path] = channel.site_id.split('#')