aboutsummaryrefslogtreecommitdiff
path: root/web/routes
diff options
context:
space:
mode:
authorKumar Damani <damani.kumar@gmail.com>2019-04-09 02:26:21 +0000
committerGitHub <noreply@github.com>2019-04-09 02:26:21 +0000
commit52ce47b39b053934189120d5c0686f9c8a71b29a (patch)
tree81b6647cb80d27d04aa6150f1f6fc90fb0756429 /web/routes
parent79976c72f7f5b913a6bea08062224a6af7be1d5c (diff)
parent5e4bcf6cf9aabe46d544db8c56f33fb08543cc49 (diff)
Merge pull request #71 from csc301-winter-2019/web-homepage
Web homepage
Diffstat (limited to 'web/routes')
-rw-r--r--web/routes/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/routes/index.js b/web/routes/index.js
index 2a828bc..05df4d4 100644
--- a/web/routes/index.js
+++ b/web/routes/index.js
@@ -12,7 +12,8 @@ const glookup = new GeoJsonGeometriesLookup(torontoNeighbourhoords);
/* GET home page. */
router.get('/', function(req, res, next) {
// for now just redirect to /map
- res.redirect('/map');
+ //res.redirect('/map');
+ res.render('index');
});
/* GET Map page. */