aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes/files
diff options
context:
space:
mode:
authorPitu <[email protected]>2018-09-16 05:42:38 -0300
committerPitu <[email protected]>2018-09-16 05:42:38 -0300
commit90011334147eaa3b480e0dc9f80cc83bb83b3cd5 (patch)
treeaedd93c2fafb791d4a610c71f13c881143d69b42 /src/api/routes/files
parentWe really dont want to source control the uploads folder (diff)
downloadhost.fuwn.me-90011334147eaa3b480e0dc9f80cc83bb83b3cd5.tar.xz
host.fuwn.me-90011334147eaa3b480e0dc9f80cc83bb83b3cd5.zip
Links are managed elsewhere, so there's no point in this
Diffstat (limited to 'src/api/routes/files')
-rw-r--r--src/api/routes/files/uploadPOST.js4
1 files changed, 3 insertions, 1 deletions
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);
}
/*