mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Trying to get realfavicon working
This commit is contained in:
@@ -11,10 +11,6 @@ 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];
|
||||
|
||||
Reference in New Issue
Block a user