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'));