diff --git a/ass.js b/ass.js index a945f63..66b1e66 100755 --- a/ass.js +++ b/ass.js @@ -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