Browse Source

Merge pull request #108 from mkelley82/patch-1

Update snippet to reflect HTTPS usage instead of HTTP
pull/114/head
Pēteris Caune 8 years ago
committed by GitHub
parent
commit
550a38e4d5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      templates/front/snippets/node.html

+ 2
- 2
templates/front/snippets/node.html View File

@ -1,3 +1,3 @@
<div class="highlight"><pre><span></span><span class="kd">var</span> <span class="nx">http</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">&#39;http&#39;</span><span class="p">);</span>
<span class="nx">http</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="s2">&quot;{{ ping_url }}&quot;</span><span class="p">);</span>
<div class="highlight"><pre><span></span><span class="kd">var</span> <span class="nx">https</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">&#39;https&#39;</span><span class="p">);</span>
<span class="nx">https</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="s2">&quot;{{ ping_url }}&quot;</span><span class="p">);</span>
</pre></div>

Loading…
Cancel
Save