Stackedit/server.js
2013-10-06 21:26:11 +01:00

5 lines
169 B
JavaScript

var express = require('express');
var app = express();
app.use(express.compress());
app.use(express.static(__dirname + '/public'));
app.listen(process.env.PORT || 3000);