redirect error
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: ale <ale@manalejandro.com>
This commit is contained in:
ale 2024-11-24 17:28:33 +01:00
parent e2d783713d
commit cc914183ec
Signed by: ale
GPG Key ID: 244A9C4DAB1C0C81

View File

@ -30,7 +30,7 @@ module.exports = async (client, apex, app) => {
cache: 'no-cache', cache: 'no-cache',
mode: 'same-origin', mode: 'same-origin',
priority: 'high', priority: 'high',
redirect: 'follow' redirect: 'error'
}) })
setImmediate(() => clearTimeout(timeout)) setImmediate(() => clearTimeout(timeout))
return await response.json() return await response.json()