mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
nodejs: check filename from url
This commit is contained in:
@ -30,7 +30,7 @@ var tempStorageUrl = siteUrl + configServer.get('tempStorageUrl');
|
||||
var fileUtility = {};
|
||||
|
||||
fileUtility.getFileName = function (url, withoutExtension) {
|
||||
if (!url) return null;
|
||||
if (!url) return "";
|
||||
|
||||
var filename;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user