From ee7452e859df961d37e42e5cc0d4bc2f15915d9a Mon Sep 17 00:00:00 2001 From: Paul Wallace <paulwallace@Pauls-MacBook-Air.local> Date: Thu, 3 Nov 2016 12:44:46 -0700 Subject: [PATCH] Added a single route to the index.js for /api --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index bfb8816..e43c48b 100644 --- a/index.js +++ b/index.js @@ -21,7 +21,7 @@ app.get('/landing', function(request, response) { }); - +app.get('/api', crime.view); app.listen(app.get('port'), function() { console.log('Node app is running on port', app.get('port')); -- 1.9.1