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

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

Loading…
Cancel
Save