Serve hosted over HTTPS

Based on proposal in #629.
Closes #629.
master
alex 2015-07-03 10:53:36 +01:00 committed by Addy Osmani
parent 78ba190dee
commit dc6e889b2c
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@
Just add the following <code>&lt;link&gt;</code> and <code>&lt;script&gt;</code> elements into your HTML pages:
<pre class="language-markup"><code>&lt;link rel="stylesheet" href="$$hosted_libs_prefix$$/$$version$$/material.indigo-pink.min.css"&gt;
&lt;script src="$$hosted_libs_prefix$$/$$version$$/material.min.js"&gt;&lt;/script&gt;
&lt;link rel="stylesheet" href="//fonts.googleapis.com/icon?family=Material+Icons"&gt;</code></pre>
&lt;link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"&gt;</code></pre>
</div>
<h4>Choose color scheme</h4>
<p>

View File

@ -33,7 +33,7 @@ var pkg = require('./package.json');
var through = require('through2');
var swig = require('swig');
var MaterialCustomizer = require('./docs/_assets/customizer.js');
var hostedLibsUrlPrefix = 'http://code.getmdl.io';
var hostedLibsUrlPrefix = 'https://storage.googleapis.com/code.getmdl.io';
var bucketProd = 'gs://www.getmdl.io';
var bucketStaging = 'gs://mdl-staging';
var bucketCode = 'gs://code.getmdl.io';