mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			893 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			893 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
var express = require('express');
 | 
						|
const path = require('path');
 | 
						|
var router = express.Router();
 | 
						|
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('/browserconfig.xml').get(function(req, res, next) {
 | 
						|
    res.sendFile(path.join(pathThumbnails, '/public/assets/images/browserconfig.xml'));
 | 
						|
});
 | 
						|
 | 
						|
router.route('/apple-touch-icon.png').get(function(req, res, next) {
 | 
						|
    res.sendFile(path.join(pathThumbnails, '/public/assets/images/apple-touch-icon.png'));
 | 
						|
});
 | 
						|
 | 
						|
router.route('/apple-touch-icon-precomposed.png').get(function(req, res, next) {
 | 
						|
    res.sendFile(path.join(pathThumbnails, '/public/assets/images/apple-touch-icon-precomposed.png'));
 | 
						|
});
 | 
						|
 | 
						|
module.exports = router;
 |