Skip to content

Instantly share code, notes, and snippets.

@matthewstokeley
Created January 2, 2019 02:53
Show Gist options
  • Save matthewstokeley/333bdb01cd511fca364d33f8794ec10e to your computer and use it in GitHub Desktop.
Save matthewstokeley/333bdb01cd511fca364d33f8794ec10e to your computer and use it in GitHub Desktop.
#!/usr/bin/env node
var express = require("express");
var app = express();
app.listen(process.env.EXPRESS_PORT || 3002,
"127.0.0.1",
function (error) {
if (error) process.exit(10);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment