duckduckgo/p5-app-duckpan — pull request #100 by jagtalon (2014-07-29 14:54:35+00:00)
Title: Web.pm: Switch fallback server to ddh1.duckduckgo.com

I would like to change the default fallback server to DDH1 so that people can have access to private APIs.

We sometimes get pull requests from partners that don't have signup pages for APIs. When this happens, only people in DDG have the capability to actually check the API. But when we point it to DDH1, I can deploy the endpoint there and people will be able to play with it on their own DuckPAN installations.

Flow:

1. DuckPAN checks if the env variable is available.
2. If it is, it makes a request to the API endpoint.
3. If it isn't, it makes a request to ddh1.

Here's a PR where this can be applied immediately: https://github.com/duckduckgo/zeroclickinfo-spice/pull/983

Here it is in action:
![adsfasdfdsaf](https://cloud.githubusercontent.com/assets/81969/3736689/1f2e67c8-1730-11e4-9acc-af4760f69166.PNG)

CC @moollaza @nilnilnil @malbin @russellholt