From 4d83ff5a283b5206f9b79d6eb694d851c252be8a Mon Sep 17 00:00:00 2001 From: Pitu Date: Sat, 21 Jan 2017 17:24:20 -0300 Subject: [PATCH] Crawl :') --- controllers/uploadController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/uploadController.js b/controllers/uploadController.js index d337018..5130246 100644 --- a/controllers/uploadController.js +++ b/controllers/uploadController.js @@ -104,7 +104,7 @@ uploadsController.processFilesForDisplay = function(req, res, files, existingFil if(domain.host === req.get('host')) if(domain.hasOwnProperty('resolve')) basedomain = domain.resolve - + if(files.length === 0){ return res.json({ success: true,