New port and removed extraneous ;
This commit is contained in:
parent
a75f9d924a
commit
538c1158de
7
app.js
7
app.js
@ -11,7 +11,6 @@ fs.readFile('./index.dust', function(error, data){
|
||||
|
||||
var modern = '<html><head><script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script></head>';
|
||||
|
||||
|
||||
app.use(function(request, response){
|
||||
parser.setUA(request.get('user-agent'));
|
||||
dust.render('index', {ua: JSON.stringify(parser.getResult(), null, 2)}, function(error, out){
|
||||
@ -21,6 +20,6 @@ app.use(function(request, response){
|
||||
|
||||
});
|
||||
|
||||
app.listen(3000, function(){
|
||||
console.log("App listening on port 3000.");
|
||||
});;
|
||||
app.listen(3993, function(){
|
||||
console.log("App listening on port 3993.");
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user