Added Node.js static file server

This commit is contained in:
benweet 2013-09-28 15:44:15 +01:00
parent 5909cc8ce1
commit 7317281b5d

View File

@ -1,5 +1,5 @@
var express = require('express');
var app = express();
app.use(express.compress());
app.use(express.static(__dirname));
app.use('/stackedit', express.static(__dirname));
app.listen(process.env.PORT || 3000);