diff options
Diffstat (limited to 'src/api/routes/files')
| -rw-r--r-- | src/api/routes/files/uploadPOST.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/api/routes/files/uploadPOST.js b/src/api/routes/files/uploadPOST.js index e4d13b3..5c6bcb0 100644 --- a/src/api/routes/files/uploadPOST.js +++ b/src/api/routes/files/uploadPOST.js @@ -7,7 +7,6 @@ const jetpack = require('fs-jetpack'); const Busboy = require('busboy'); const fs = require('fs'); /* - TODO: Strip exif data if the owner/user configured it as such TODO: If source has transparency generate a png thumbnail, otherwise a jpg. TODO: If source is a gif, generate a thumb of the first frame and play the gif on hover. TODO: If source is a video, generate a thumb of the first frame and save the video length. @@ -177,13 +176,6 @@ class uploadPOST extends Route { } /* - If exif removal has been force service-wide or requested by the user, remove it - */ - if (process.env.STRIP_EXIF == 'true') { // || user.settings.stripExif) { - // Util.removeExif(upload.filename); - } - - /* Generate those thumbnails */ return Util.generateThumbnails(upload.filename); |