5 changed files with 25 additions and 2 deletions
@ -1,2 +1,4 @@ |
|||||||
dump.rdb |
dump.rdb |
||||||
bin/ |
bin/ |
||||||
|
node_modules/ |
||||||
|
npm-debug.log |
||||||
|
|||||||
@ -0,0 +1,17 @@ |
|||||||
|
var express = require('express'); |
||||||
|
var app = express(); |
||||||
|
|
||||||
|
/* |
||||||
|
app.get('/', function (req, res) { |
||||||
|
res.send('Hello World!'); |
||||||
|
}); |
||||||
|
*/ |
||||||
|
|
||||||
|
app.use(express.static(__dirname + '/resources/public')); |
||||||
|
|
||||||
|
var server = app.listen(3000, function () { |
||||||
|
var host = server.address().address; |
||||||
|
var port = server.address().port; |
||||||
|
|
||||||
|
console.log('NoteHub server listening at http://%s:%s', host, port); |
||||||
|
}); |
||||||
Loading…
Reference in new issue