From 43865930f8580f6fe97ea9f54686a1b805358a6d Mon Sep 17 00:00:00 2001 From: Matthew Strapp Date: Fri, 16 Apr 2021 12:58:44 -0500 Subject: Get started on DB work, still needs much work --- csci4131/hw6/strap012_hw6/index.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'csci4131/hw6/strap012_hw6/index.js') 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); -- cgit v1.2.3