mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
nodejs: Fix Bug 63800 template image (9048082cb7)
This commit is contained in:
@ -389,14 +389,14 @@ DocManager.prototype.getTemplateImageUrl = function getTemplateImageUrl(fileType
|
||||
}
|
||||
|
||||
if (fileType === fileUtility.fileType.cell) { // for cell type
|
||||
return `${path}/images/file_xlsx.svg`;
|
||||
return `${serverUrl}/images/file_xlsx.svg`;
|
||||
}
|
||||
|
||||
if (fileType === fileUtility.fileType.slide) { // for slide type
|
||||
return `${path}/images/file_pptx.svg`;
|
||||
return `${serverUrl}/images/file_pptx.svg`;
|
||||
}
|
||||
|
||||
return `${path}/images/file_docx.svg`; // the default value
|
||||
return `${serverUrl}/images/file_docx.svg`; // the default value
|
||||
};
|
||||
|
||||
// get document key
|
||||
|
||||
Reference in New Issue
Block a user