mirror of
https://github.com/imputnet/cobalt.git
synced 2026-01-01 04:21:24 +00:00
api/match: set alwaysProxy to true if local processing is forced
This commit is contained in:
@@ -242,7 +242,8 @@ export default function({
|
||||
defaultParams.filename += `.${audioFormat}`;
|
||||
}
|
||||
|
||||
if ((alwaysProxy || localProcessing === "forced") && responseType === "redirect") {
|
||||
// alwaysProxy is set to true in match.js if localProcessing is forced
|
||||
if (alwaysProxy && responseType === "redirect") {
|
||||
responseType = "tunnel";
|
||||
params.type = "proxy";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user