You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
383 B
17 lines
383 B
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); |
|
}); |