hotel
Advanced tools
Comparing version 0.5.10 to 0.5.11
# Change Log | ||
## 0.5.11 | ||
* Add more x-forward headers | ||
## 0.5.10 | ||
@@ -4,0 +8,0 @@ |
@@ -46,3 +46,3 @@ 'use strict'; | ||
_this._list = {}; | ||
_this._proxy = httpProxy.createProxyServer(); | ||
_this._proxy = httpProxy.createProxyServer({ xfwd: true }); | ||
_this._proxy.on('error', _this.handleProxyError); | ||
@@ -49,0 +49,0 @@ return _this; |
{ | ||
"name": "hotel", | ||
"version": "0.5.10", | ||
"version": "0.5.11", | ||
"description": "Local domains for everyone and more! ", | ||
@@ -5,0 +5,0 @@ "main": "lib", |
@@ -1,2 +0,2 @@ | ||
# hotel [![Mac/Linux Build Status](https://img.shields.io/travis/typicode/hotel/master.svg?label=Mac%20OSX%20%26%20Linux)](https://travis-ci.org/typicode/hotel) [![Windows Build status](https://img.shields.io/appveyor/ci/typicode/hotel/master.svg?label=Windows)](https://ci.appveyor.com/project/typicode/hotel/branch/master) [![](https://badge.fury.io/js/hotel.svg)](https://www.npmjs.com/package/hotel) [![](https://img.shields.io/badge/share%20on-twitter-00aced.svg)](https://twitter.com/intent/tweet?text=Start%20apps%20from%20your%20browser%20and%20get%20local%20domains%20without%20editing%20/etc/hosts%20http://i.imgur.com/DrLjbIi.gif&url=https://github.com/typicode/hotel) | ||
# hotel [![Mac/Linux Build Status](https://img.shields.io/travis/typicode/hotel/master.svg?label=Mac%20OSX%20%26%20Linux)](https://travis-ci.org/typicode/hotel) [![Windows Build status](https://img.shields.io/appveyor/ci/typicode/hotel/master.svg?label=Windows)](https://ci.appveyor.com/project/typicode/hotel/branch/master) [![](https://badge.fury.io/js/hotel.svg)](https://www.npmjs.com/package/hotel) | ||
@@ -73,6 +73,8 @@ > Start apps from your browser and get local domains in seconds! | ||
#### Popular servers examples | ||
Using other servers? Here are some examples to get you started :) | ||
```bash | ||
hotel add 'jekyll --port $PORT' | ||
hotel add 'jekyll serve --port $PORT' | ||
hotel add 'rails server -p $PORT -b 127.0.0.1' | ||
@@ -79,0 +81,0 @@ hotel add 'python -m SimpleHTTPServer $PORT' |
@@ -258,2 +258,8 @@ const fs = require('fs') | ||
// | ||
// Test headers | ||
// | ||
test.todo('GET / should contain X-FORWARD headers') | ||
// | ||
// Test remove | ||
@@ -260,0 +266,0 @@ // |
Sorry, the diff of this file is too big to display
3306
167
1070140