Default to port 5100

This commit is contained in:
Evan Morikawa 2016-06-21 17:51:47 -07:00
parent e75d0ea16b
commit 647dc1f78c

View file

@ -9,7 +9,8 @@ const path = require('path');
global.__base = path.join(__dirname, '..')
const server = new Hapi.Server();
server.connection({ port: process.env.PORT || 3000 });
console.log(process.env.PORT)
server.connection({ port: process.env.PORT || 5100 });
const plugins = [Inert, Vision, HapiBasicAuth, {
register: HapiSwagger,