Created
December 16, 2014 07:13
-
-
Save cjpartridgeb/19f5dc83d26fad720d7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'); | |
var nodemailer = require('nodemailer'); | |
var app = express(); | |
var port = process.env.PORT || 8300; | |
app.listen(port, function(){ | |
console.log('Server is listening on ' + port); | |
}); | |
app.use(express.static('./assets')); | |
app.get('/tp.gif', function (req, res, next) { | |
console.log('image rendered') | |
return next(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment