diff options
author | Matthew Strapp <msattr@gmail.com> | 2021-04-15 13:03:15 -0500 |
---|---|---|
committer | Matthew Strapp <msattr@gmail.com> | 2021-04-15 13:03:15 -0500 |
commit | e6b8297e3cb99dfc753015699c766612fc89655a (patch) | |
tree | c6383723090aafba488dd452a76ec35ca38e1597 /csci4131/hw6/strap012_hw6/index.js | |
parent | hw6 (diff) | |
download | homework-e6b8297e3cb99dfc753015699c766612fc89655a.tar homework-e6b8297e3cb99dfc753015699c766612fc89655a.tar.gz homework-e6b8297e3cb99dfc753015699c766612fc89655a.tar.bz2 homework-e6b8297e3cb99dfc753015699c766612fc89655a.tar.lz homework-e6b8297e3cb99dfc753015699c766612fc89655a.tar.xz homework-e6b8297e3cb99dfc753015699c766612fc89655a.tar.zst homework-e6b8297e3cb99dfc753015699c766612fc89655a.zip |
I don't get Express routers
Diffstat (limited to 'csci4131/hw6/strap012_hw6/index.js')
-rw-r--r-- | csci4131/hw6/strap012_hw6/index.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/csci4131/hw6/strap012_hw6/index.js b/csci4131/hw6/strap012_hw6/index.js index 6ce24c2..965b23e 100644 --- a/csci4131/hw6/strap012_hw6/index.js +++ b/csci4131/hw6/strap012_hw6/index.js @@ -84,11 +84,6 @@ app.post('/logintry', function(req, res) { }); - -// TODO: Add implementation for other necessary end-points - - - // Makes Express use a router called utilities app.use('/api', utilities); @@ -107,4 +102,4 @@ app.use(function (err, req, res, next) { res.status(err.status || 500); // res.render('error'); res.send(); -});
\ No newline at end of file +}); |