Browse Source

Yep, multi-domains is a thing

Pitu 8 years ago
parent
commit
f55e9809b7
1 changed files with 0 additions and 3 deletions
  1. 0 3
      controllers/uploadController.js

+ 0 - 3
controllers/uploadController.js

@@ -56,15 +56,12 @@ uploadsController.upload = function(req, res, next){
 
 		db.table('files').insert(files).then(() => {
 			
-			console.log('basedomain: ' + req.get('host'))
 			let basedomain = req.get('host')
 			for(let domain of config.domains)
 				if(domain.host === req.get('host'))
 					if(domain.hasOwnProperty('resolve'))
 						basedomain = domain.resolve
 
-			console.log('basedomain: ' + basedomain)
-			
 			res.json({
 				success: true,
 				files: files.map(file => {