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