diff options
author | Matthew Strapp <msattr@gmail.com> | 2021-04-16 12:58:44 -0500 |
---|---|---|
committer | Matthew Strapp <msattr@gmail.com> | 2021-04-16 12:58:44 -0500 |
commit | 43865930f8580f6fe97ea9f54686a1b805358a6d (patch) | |
tree | 67a884ca82ab1c393baeb87059847fed7ff1cc03 /csci4131/hw6/strap012_hw6/index.js | |
parent | I don't get Express routers (diff) | |
download | homework-43865930f8580f6fe97ea9f54686a1b805358a6d.tar homework-43865930f8580f6fe97ea9f54686a1b805358a6d.tar.gz homework-43865930f8580f6fe97ea9f54686a1b805358a6d.tar.bz2 homework-43865930f8580f6fe97ea9f54686a1b805358a6d.tar.lz homework-43865930f8580f6fe97ea9f54686a1b805358a6d.tar.xz homework-43865930f8580f6fe97ea9f54686a1b805358a6d.tar.zst homework-43865930f8580f6fe97ea9f54686a1b805358a6d.zip |
Get started on DB work, still needs much work
Diffstat (limited to 'csci4131/hw6/strap012_hw6/index.js')
-rw-r--r-- | csci4131/hw6/strap012_hw6/index.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/csci4131/hw6/strap012_hw6/index.js b/csci4131/hw6/strap012_hw6/index.js index 965b23e..474b165 100644 --- a/csci4131/hw6/strap012_hw6/index.js +++ b/csci4131/hw6/strap012_hw6/index.js @@ -76,14 +76,10 @@ app.get('/login', function (req, res) { if (req.session.value) { res.redirect('/contacts'); } else { - res.sendFile(path.join(__dirname, 'public/login.html')); + res.sendFile(path.join(__dirname, 'login.html')); } }); -app.post('/logintry', function(req, res) { - -}); - // Makes Express use a router called utilities app.use('/api', utilities); |