Line endings fix

This commit is contained in:
anarch3 2022-11-20 18:33:25 -05:00
parent 5116dd2137
commit 544abd1ebd
25 changed files with 7378 additions and 7372 deletions

View file

@ -101,7 +101,6 @@ function handleUpload(req, res, next) {
for (let file in req.files) {
let currentdate = Date.now();
let expireDate = new Date(currentdate + (req.body.expire * 24 * 60 * 60 * 1000));
console.log(expireDate);
db.run("INSERT INTO media (path, expire) VALUES (?, ?)", [req.files[file].filename, expireDate], function (err) {
if (err) {
console.log(err);