Skip to content

Commit

Permalink
Use https to load Bootstrap
Browse files Browse the repository at this point in the history
Using a protocol-relative URL is unnecessary, and the preferable https protocol should be adopted. In particular, this means that files can be opened under the file:// protocol if they're not on a webserver.

[Paul Irish's post on the subject](http://www.paulirish.com/2010/the-protocol-relative-url/) notes that this is now considered an anti-pattern.
  • Loading branch information
gregtyler committed Mar 18, 2015
1 parent ba0f5bc commit 15928ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/bootstrap/body.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>JSHint Report</title>

<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
</head>
<body>

Expand Down

0 comments on commit 15928ce

Please sign in to comment.