Used realfavicongenerator.net to generate new favicons

This commit is contained in:
Kasper Rynning-Tønnesen
2017-10-03 16:14:39 +02:00
parent c14c9717b7
commit ef329b9b71
22 changed files with 1027 additions and 975 deletions

View File

@@ -11,6 +11,10 @@ router.use(function(req, res, next) {
next(); // make sure we go to the next routes and don't stop here
});
router.route('/favicon.ico').get(function(req, res, next) {
res.sendFile(path.join(pathThumbnails, '/public/assets/images/favicon.ico'));
});
router.route('/:channel_name').get(function(req, res, next){
try{
var url = req.headers['x-forwarded-host'] ? req.headers['x-forwarded-host'] : req.headers.host.split(":")[0];