Skip to content

Instantly share code, notes, and snippets.

tomholford

Block or report user

Report or block tomholford

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tomholford
tomholford / web.js
Created Sep 27, 2016 — forked from ntreadway/web.js
Express server for deploying to Heroku with Angular.
View web.js
var express = require("express"),
app = express.createServer(express.logger());
port = process.env.PORT || 3000;
app.configure(function(){
app.use(express.methodOverride());
app.use(express.bodyParser());
app.use(express.static(__dirname + '/'));
app.use(express.errorHandler({
dumpExceptions: true,
You can’t perform that action at this time.