1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-15 03:52:48 +00:00

changed colors and added humidity

This commit is contained in:
2015-12-21 09:55:08 -06:00
parent 372eb01b48
commit 5433a0efa4
4 changed files with 21 additions and 38 deletions

View File

@@ -25,8 +25,6 @@ router.get('/vpn', function(req, res, next){
/* GET home page. */
router.get('/', function(req, res, next) {
console.log(req.query.post);
renderIndex(res, {getPost : req.query.post, validation : {}});
});
@@ -56,7 +54,6 @@ router.post('/', function(req, res,next) {
var time = hours + ":" + minutes + ampm;
console.log("--time: " + time);
if(!numberValidator(number)){
invalid.number = 'Invalid Number';
@@ -117,7 +114,6 @@ router.post('/', function(req, res,next) {
console.dir(entry);
});
console.log(entry);
res.render('success');
}
});