Skip to content

Commit

Permalink
Use https for download links
Browse files Browse the repository at this point in the history
PR: #127
PR-URL: nodejs/nodejs.org#127
Reviewed-By: Julien Gilli <[email protected]>
  • Loading branch information
dreamhigh0525 committed Jun 23, 2015
1 parent abf220e commit f64204f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
46 changes: 23 additions & 23 deletions doc/download/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,23 @@ <h1>Downloads</h1>
<div id="installers">
<ul>
<li>
<a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__-x86.msi">
<a href="https://nodejs.org/dist/__VERSION__/node-__VERSION__-x86.msi">
<img src="https://nodejs.org/images/platform-icon-win.png"
height=50 width=45 alt="">
Windows Installer
<small>node-__VERSION__-x86.msi</small>
</a>
</li>
<li>
<a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__.pkg">
<a href="https://nodejs.org/dist/__VERSION__/node-__VERSION__.pkg">
<img src="https://nodejs.org/images/platform-icon-osx.png"
height=50 width=45 alt="">
Macintosh Installer
<small>node-__VERSION__.pkg</small>
</a>
</li>
<li id="source">
<a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__.tar.gz">
<a href="https://nodejs.org/dist/__VERSION__/node-__VERSION__.tar.gz">
<img src="https://nodejs.org/images/platform-icon-generic.png"
height=50 width=45 alt="">
Source Code
Expand All @@ -83,57 +83,57 @@ <h1>Downloads</h1>
<table style="font-size:14px">
<tr>
<th>Windows Installer (.msi)</th>
<td><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__-x86.msi">32-bit</a></td>
<td><a href="http://nodejs.org/dist/__VERSION__/x64/node-__VERSION__-x64.msi">64-bit</a></td>
<td><a href="https://nodejs.org/dist/__VERSION__/node-__VERSION__-x86.msi">32-bit</a></td>
<td><a href="https://nodejs.org/dist/__VERSION__/x64/node-__VERSION__-x64.msi">64-bit</a></td>
</tr>

<tr>
<th>Windows Binary (.exe)</th>
<td><a href="http://nodejs.org/dist/__VERSION__/node.exe">32-bit</a></td>
<td><a href="http://nodejs.org/dist/__VERSION__/x64/node.exe">64-bit</a></td>
<td><a href="https://nodejs.org/dist/__VERSION__/node.exe">32-bit</a></td>
<td><a href="https://nodejs.org/dist/__VERSION__/x64/node.exe">64-bit</a></td>
</tr>

<tr>
<th>Mac OS X Installer (.pkg)</th>
<td colspan=2><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__.pkg">Universal</a></td>
<td colspan=2><a href="https://nodejs.org/dist/__VERSION__/node-__VERSION__.pkg">Universal</a></td>
</tr>

<tr>
<th>Mac OS X Binaries (.tar.gz)</th>
<td><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__-darwin-x86.tar.gz">32-bit</a></td>
<td><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__-darwin-x64.tar.gz">64-bit</a></td>
<td><a href="https://nodejs.org/dist/__VERSION__/node-__VERSION__-darwin-x86.tar.gz">32-bit</a></td>
<td><a href="https://nodejs.org/dist/__VERSION__/node-__VERSION__-darwin-x64.tar.gz">64-bit</a></td>
</tr>

<!-- TODO Uncomment when we have these
<tr>
<th>Linux Installer (.deb)</th>
<td><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__-linux-x86.deb">32-bit</a></td>
<td><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__-linux-x64.deb">64-bit</a></td>
<td><a href="https://nodejs.org/dist/__VERSION__/node-__VERSION__-linux-x86.deb">32-bit</a></td>
<td><a href="https://nodejs.org/dist/__VERSION__/node-__VERSION__-linux-x64.deb">64-bit</a></td>
</tr>
<tr>
<th>Linux Installer (.rpm)</th>
<td><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__-linux-x86.rpm">32-bit</a></td>
<td><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__-linux-x64.rpm">64-bit</a></td>
<td><a href="https://nodejs.org/dist/__VERSION__/node-__VERSION__-linux-x86.rpm">32-bit</a></td>
<td><a href="https://nodejs.org/dist/__VERSION__/node-__VERSION__-linux-x64.rpm">64-bit</a></td>
</tr>
-->

<tr>
<th>Linux Binaries (.tar.gz)</th>
<td><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__-linux-x86.tar.gz">32-bit</a></td>
<td><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__-linux-x64.tar.gz">64-bit</a></td>
<td><a href="https://nodejs.org/dist/__VERSION__/node-__VERSION__-linux-x86.tar.gz">32-bit</a></td>
<td><a href="https://nodejs.org/dist/__VERSION__/node-__VERSION__-linux-x64.tar.gz">64-bit</a></td>
</tr>

<tr>
<th>SunOS Binaries (.tar.gz)</th>
<td><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__-sunos-x86.tar.gz">32-bit</a></td>
<td><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__-sunos-x64.tar.gz">64-bit</a></td>
<td><a href="https://nodejs.org/dist/__VERSION__/node-__VERSION__-sunos-x86.tar.gz">32-bit</a></td>
<td><a href="https://nodejs.org/dist/__VERSION__/node-__VERSION__-sunos-x64.tar.gz">64-bit</a></td>
</tr>

<tr>
<th>Source Code</th>
<td colspan=2>
<a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__.tar.gz">node-__VERSION__.tar.gz</a>
<a href="https://nodejs.org/dist/__VERSION__/node-__VERSION__.tar.gz">node-__VERSION__.tar.gz</a>
</td>
</tr>
</table>
Expand All @@ -153,16 +153,16 @@ <h2 style="margin-top:1em" id="iojs">io.js</h2>

<h2 style="margin-top:1em" id=other-info>Other Info</h2>
<ul>
<li><a href="http://nodejs.org/dist/__VERSION__/SHASUMS.txt.asc">Shasums</a></li>
<li><a href="https://nodejs.org/dist/__VERSION__/SHASUMS.txt.asc">Shasums</a></li>
<li><a href="https://raw.github.com/joyent/node/__VERSION__/ChangeLog">Change Log</a></li>

<li><a href="http://nodejs.org/docs/__VERSION__/api/">Documentation</a></li>

<li><a href="https://github.com/joyent/node">Git Repository</a></li>
<li><a href="https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager">Installing from package managers</a>

<li><a href="http://nodejs.org/dist/__VERSION__">Other release files</a></li>
<li><a href="http://nodejs.org/dist/">Other releases</a></li>
<li><a href="https://nodejs.org/dist/__VERSION__">Other release files</a></li>
<li><a href="https://nodejs.org/dist/">Other releases</a></li>
</ul>
</div>

Expand Down Expand Up @@ -283,7 +283,7 @@ <h2 id="additional">Additional Platforms</h2>
var os = n.platform.match(/(Win|Mac|Linux)/);
var x = n.userAgent.match(/x86_64|Win64|WOW64/) ||
n.cpuClass === 'x64' ? 'x64' : 'x86';
var base = 'http://nodejs.org/dist/__VERSION__/';
var base = 'https://nodejs.org/dist/__VERSION__/';
var href = 'node-__VERSION__.tar.gz';
var db = d.getElementById('downloadbutton');
var d2;
Expand Down
2 changes: 1 addition & 1 deletion doc/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
var os = n.platform.match(/(Win|Mac|Linux)/);
var x = n.userAgent.match(/x86_64|Win64|WOW64/) ||
n.cpuClass === 'x64' ? 'x64' : 'x86';
var base = 'http://nodejs.org/dist/__VERSION__/';
var base = 'https://nodejs.org/dist/__VERSION__/';
var href = 'node-__VERSION__.tar.gz';
var db = d.getElementById('downloadbutton');
var d2;
Expand Down

0 comments on commit f64204f

Please sign in to comment.