aboutsummaryrefslogtreecommitdiffstats
path: root/csci4131/hw6/strap012_hw6/index.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--csci4131/hw6/strap012_hw6/index.js6
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);