From 0f4eaedeb1bae9c49fdaab58aae6e8d0bd5eb1d2 Mon Sep 17 00:00:00 2001 From: Joris Berthelot Date: Wed, 2 Dec 2015 15:07:46 +0100 Subject: [PATCH] Remove ability to change service host/port + bump version --- package.json | 2 +- server.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d6ae89c..0347a8d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mirror-http-server", - "version": "1.0.0", + "version": "1.0.1", "description": "A dummy HTTP server that responds whatever you told him to", "scripts": { "start": "node server.js | npm run bunyan", diff --git a/server.js b/server.js index 8cf2dfd..57b9e92 100644 --- a/server.js +++ b/server.js @@ -1,7 +1,7 @@ 'use strict'; -var host = process.env.HOST || '0.0.0.0'; -var port = process.env.PORT || 80; +var host = '0.0.0.0'; +var port = 80; var _ = require('lodash'); var bunyan = require('bunyan');