defunctzombie/localtunnel — pull request #46 by holic (2014-04-20 09:49:49+00:00)
Title: Allow restricting tunnel to a specified --path on target host/post

This pull request adds a `path` option (or `--path` in the CLI). All requests to a tunnel with a configured `path` will have that `path` prepended to the target tunneled path.

For example, a tunnel started with `lt --port 8080 --path /some-path --subdomain path-test` and requested through `https://path-test.localtunnel.me/` will hit `http://localhost:8080/some-path/`. Likewise for a request to `https://path-test.localtunnel.me/here`, which will hit `http://localhost:8080/some-path/here/`.

This pull request also ups the Mocha tests' default timeout as some tests were failing from here in New Zealand due to slow requests. ;)