mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-02-10 18:05:10 +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())) {
|
||||
$result["step"] = $convertedData["percent"];
|
||||
$result["filename"] = $newFileUri;
|
||||
$result["filename"] = str_replace("//proxy", "//localhost", $newFileUri);
|
||||
$result["error"] = 'FileTypeIsNotSupported';
|
||||
return $result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user