improved internal res ID naming for 'original' type

pull/12/head
tycrek 4 years ago
parent 1d275a6aaa
commit 5ee31f56a1
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -60,7 +60,7 @@ function startup() {
// Save the file information
let resourceId = generateId(resourceIdType, resourceIdSize, req.file.originalname);
data[resourceId] = req.file;
data[resourceId.split('.')[0]] = req.file;
saveData(data);
let http = ('http').concat(useSsl ? 's' : '').concat('://');

Loading…
Cancel
Save