From 7317281b5d5e269cdfb4ebe87a64331e67f85164 Mon Sep 17 00:00:00 2001 From: benweet Date: Sat, 28 Sep 2013 15:44:15 +0100 Subject: [PATCH] Added Node.js static file server --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index e153b7c3..4f22fb9e 100644 --- a/server.js +++ b/server.js @@ -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); \ No newline at end of file