Commit ee7452e859df961d37e42e5cc0d4bc2f15915d9a

Authored by Paul Wallace
1 parent be64bfe1a9
Exists in master

Added a single route to the index.js for /api

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -21,7 +21,7 @@
21 21 });
22 22  
23 23  
24   -
  24 +app.get('/api', crime.view);
25 25  
26 26 app.listen(app.get('port'), function() {
27 27 console.log('Node app is running on port', app.get('port'));