pull/12/head
tycrek 4 years ago
parent 672638e551
commit dd133e174f
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -57,7 +57,7 @@ function startup() {
data[resourceId] = req.file; data[resourceId] = req.file;
saveData(data); saveData(data);
res.type('json').send({ resource: `https://${process.env.DOMAIN}:${process.env.PORT}/${resourceId}`, delete: `https://${process.env.DOMAIN}:${process.env.PORT}/delete/${req.file.filename}` }); res.type('json').send({ resource: `https://${process.env.DOMAIN}/${resourceId}`, delete: `https://${process.env.DOMAIN}/delete/${req.file.filename}` });
}); });
// View file // View file

Loading…
Cancel
Save