Skip to content

Instantly share code, notes, and snippets.

@shaundon
Created February 1, 2016 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shaundon/f79802a3bbaf2fdfe7d2 to your computer and use it in GitHub Desktop.
Save shaundon/f79802a3bbaf2fdfe7d2 to your computer and use it in GitHub Desktop.
Very simple NodeJS server that returns 500 errors
var express = require('express');
var app = express();
app.get('/', function(req, res) {
res.sendStatus(500);
});
app.listen(6969);
{
"name": "five-hundred",
"version": "1.0.0",
"description": "",
"dependencies": {
"express": "^4.13.4"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment