mirror of
https://github.com/ONLYOFFICE/onlyoffice.github.io.git
synced 2026-04-07 14:04:30 +08:00
Fix previous commit
This commit is contained in:
@ -516,7 +516,7 @@ function fetchExternal(url, options, isStreaming) {
|
|||||||
AI._extendBody = function(_provider, body) {
|
AI._extendBody = function(_provider, body) {
|
||||||
let provider = _provider.createInstance ? _provider : AI.Storage.getProvider(_provider.name);
|
let provider = _provider.createInstance ? _provider : AI.Storage.getProvider(_provider.name);
|
||||||
if (!provider) provider = new AI.Provider();
|
if (!provider) provider = new AI.Provider();
|
||||||
let bodyPr = provider.getRequestBodyOptions();
|
let bodyPr = provider.getRequestBodyOptions(body);
|
||||||
|
|
||||||
if (provider.isUseProxy())
|
if (provider.isUseProxy())
|
||||||
bodyPr.target = provider.url;
|
bodyPr.target = provider.url;
|
||||||
|
|||||||
Reference in New Issue
Block a user