mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
fix(php): public url for unsupported converted files
This commit is contained in:
@ -268,7 +268,7 @@ function convert()
|
|||||||
|
|
||||||
if (!in_array($convertedData["fileType"], $formatManager->viewableExtensions())) {
|
if (!in_array($convertedData["fileType"], $formatManager->viewableExtensions())) {
|
||||||
$result["step"] = $convertedData["percent"];
|
$result["step"] = $convertedData["percent"];
|
||||||
$result["filename"] = $newFileUri;
|
$result["filename"] = str_replace("//proxy", "//localhost", $newFileUri);
|
||||||
$result["error"] = 'FileTypeIsNotSupported';
|
$result["error"] = 'FileTypeIsNotSupported';
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user