Stackedit/server.js

5 lines
171 B
JavaScript
Raw Normal View History

2013-09-27 23:41:15 +00:00
var express = require('express');
var app = express();
app.use(express.compress());
2013-09-28 14:44:15 +00:00
app.use('/stackedit', express.static(__dirname));
2013-09-27 23:41:15 +00:00
app.listen(process.env.PORT || 3000);