observe-to-email

git clone git://git.codymlewis.com/observe-to-email.git
Log | Files | Refs | README

commit c851b1651673ef9e56201b60b0210fe071fb679e
parent bcb1269ff118ba90553c131dd2795b76fe909f56
Author: Cody Lewis <luxdotsugi@gmail.com>
Date:   Sat,  8 Sep 2018 22:23:43 +1000

Forgot to remove the dependency completely

Diffstat:
Droutes/.#index.js | 2--
Mroutes/index.js | 4----
2 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/routes/.#index.js b/routes/.#index.js @@ -1 +0,0 @@ -uxie@distortion-world.23764:1536322038- \ No newline at end of file diff --git a/routes/index.js b/routes/index.js @@ -1,6 +1,5 @@ var express = require('express'); var router = express.Router(); -var formidable = require('formidable'); /* GET home page. */ router.get('/', function(req, res, next) { @@ -12,8 +11,6 @@ router.get('/observe', function(req, res, next) { router.post('/observe', function(req, res, next) { var nodemailer = require('nodemailer'); - // var form = new formidable.IncomingForm(); - // form.parse(req, function (err, req.body, files) { var today = new Date(); console.log("Started creating message"); msg = '\\subsubsection{Test from ' + today.toDateString() + '}\n' + @@ -47,7 +44,6 @@ router.post('/observe', function(req, res, next) { } }); - // }); res.redirect('/success'); }); router.get('/success', function(req, res, next) {