Skip to content

Commit

Permalink
Adding semicolons
Browse files Browse the repository at this point in the history
For better enforcement
  • Loading branch information
r0mdau committed Nov 26, 2014
1 parent 0f654be commit e460bc4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,13 +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.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'));
});

0 comments on commit e460bc4

Please sign in to comment.