meteor/docs

nectar.ninja failure, fails meteor docs

brucejo75 opened this issue · 1 comments

Looks like a nectar.ninja failure is failing the docs.

Repro

  • Connect to https://guide.meteor.com
  • Docs do not render properly
  • Observe this Console error:
(index):656 GET https://nectar.ninja/api/v1/meteorjs net::ERR_ABORTED 502 (Bad Gateway)
(anonymous) @ (index):656
(anonymous) @ (index):657

Notes

Here is the offending code found in index.js:

    <script>
      // nectar ninja
      (function(){
        var handle = '@meteorjs';
        var a = document.createElement('script');
        var m = document.getElementsByTagName('script')[0];
        a.async = 1;
        a.src = 'https://nectar.ninja/api/v1/' + handle.slice(1);
        m.parentNode.insertBefore(a, m);
      })();
    </script>

I do not know who/what is inserting this, but is should gracefully handle an error. Maybe don't insert if the link errors out?

fixed now...