diff --git a/index.js b/index.js index 90815a9..9022111 100644 --- a/index.js +++ b/index.js @@ -1,11 +1,13 @@ -var express = require('express'); +var express = require('express') var app = express(); app.set('port', (process.env.PORT || 5000)) +app.use(express.static(__dirname + '/public')) + app.get('/', function(request, response) { - response.send('Hello World!'); -}); + response.send('Hello World!') +}) app.listen(app.get('port'), function() { - console.log("Node app is running at localhost:" + app.get('port')); -}); + console.log("Node app is running at localhost:" + app.get('port')) +}) diff --git a/public/node.svg b/public/node.svg new file mode 100644 index 0000000..3c7e161 --- /dev/null +++ b/public/node.svg @@ -0,0 +1,17 @@ + + + + + + +