api: add an option to always proxy files

This commit is contained in:
wukko
2024-08-31 14:07:37 +06:00
parent 2f63f6bab7
commit a9e65b0da0
3 changed files with 8 additions and 1 deletions

View File

@@ -282,6 +282,7 @@ export default async function(host, patternMatch, obj) {
twitterGif: obj.twitterGif,
requestIP,
audioBitrate: obj.audioBitrate,
alwaysProxy: obj.alwaysProxy,
})
} catch {
return createResponse("error", {