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.

It's been a perennial problem for DuckPAN users to install all of the dependencies of each IA in the repo before they can even test anything. This patch prevents DuckPAN from exiting when it fails to load an IA. It goes on running, but it warns the user that some IAs didn't load (along with the errors that caused it).

The lack of publicly available API keys have prevented open-source developers from correctly fixing / testing Spice instant answers without DDG's help. The developer, especially new ones, will run into one of these two problems:

1. She has to register for an API key for an instant answer she has to fix. 2. She cannot register for an API key at all (because the API key was exclusively given to DDG).

I think this fix will make it easier for people to test their fixes and changes to JavaScript.

I hate ubuntu, I hate ubuntu, I hate ubuntu, I hate ubuntu, I hate ubuntu, I hate ubuntu, I hate ubuntu, I hate ubuntu, I hate ubuntu, I hate ubuntu, I hate ubuntu, I hate ubuntu, I hate ubuntu, I hate ubuntu, I hate ubuntu, I hate ubuntu, I hate ubuntu, I hate ubuntu, ...

The \n escaping is working fine, but for HTML output that still has weird returns, Javascript will take that as a newline and throw an "Unterminated string literal" error in the browser-side. Removing \R after the \n have been escaped solves the issue.

Thank you to bureado <https://github.com/bureado>, who authored this change and commit.

As a valued partner and proud supporter of MetaCPAN, StickerYou is
happy to offer a 10% discount on all Custom Stickers,
Business Labels, Roll Labels,
Vinyl Lettering or Custom Decals. StickerYou.com
is your one-stop shop to make your business stick.
Use code METACPAN10 at checkout to apply your discount.