Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use base 10

  • Loading branch information...
commit a2f1d10e6eb270e5e9e5f69070ed6e98972574c5 1 parent b9d2e37
@niallo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  index.js
View
2  index.js
@@ -2,7 +2,7 @@ var Hapi = require('hapi');
// Create a server with a host, port, and options
var port = process.env.PORT || 8000
-var server = new Hapi.Server('localhost', parseInt(port));
+var server = new Hapi.Server('localhost', parseInt(port, 10));
// Define the route
var index = {
Please sign in to comment.
Something went wrong with that request. Please try again.