From 90011334147eaa3b480e0dc9f80cc83bb83b3cd5 Mon Sep 17 00:00:00 2001 From: Pitu <7425261+Pitu@users.noreply.github.com> Date: Sun, 16 Sep 2018 05:42:38 -0300 Subject: Links are managed elsewhere, so there's no point in this --- src/api/routes/files/uploadPOST.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/api/routes/files/uploadPOST.js') diff --git a/src/api/routes/files/uploadPOST.js b/src/api/routes/files/uploadPOST.js index e152ac8..9ecf7ee 100644 --- a/src/api/routes/files/uploadPOST.js +++ b/src/api/routes/files/uploadPOST.js @@ -41,8 +41,10 @@ class uploadPOST extends Route { if (!album) return res.status(401).json({ message: 'Album doesn\'t exist or it doesn\'t belong to the user' }); } + /* if (!albumId) log.info('Incoming file'); else log.info(`Incoming file for album ${albumId}`); + */ let upload = file.data; /* @@ -167,7 +169,7 @@ class uploadPOST extends Route { If exif removal has been force service-wide or requested by the user, remove it */ if (config.uploads.forceStripExif) { // || user.settings.stripExif) { - Util.removeExif(upload.filename); + // Util.removeExif(upload.filename); } /* -- cgit v1.2.3