From c038539f44d9d067e04edcc7fd849278aa28551b Mon Sep 17 00:00:00 2001 From: Keith Irwin Date: Wed, 15 Mar 2017 00:06:51 -0400 Subject: [PATCH] Added comments --- config/routes/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/routes/index.js b/config/routes/index.js index bca166f..9439194 100644 --- a/config/routes/index.js +++ b/config/routes/index.js @@ -2,9 +2,12 @@ var router = require('express').Router(), mw = require('../middleware.js'), User = require('../models/user.js'); +// Shortcut to favicon.ico router.get('/favicon.ico', function(req,res){ res.redirect('/static/img/icon/by/16-32-48.ico'); }); + +// Index route router.route('/') .get(function(req,res,next){