Permalink
Browse files

Fixes #158: Builder works on SSL

  • Loading branch information...
1 parent db65f55 commit cb75a4fd30a11ebd7d445347b31a2ec2197cc713 @mrclay committed Mar 1, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 min/builder/_index.js
View
4 min/builder/_index.js
@@ -71,7 +71,7 @@ var MUB = {
return;
var li = this;
$('span', this).html('');
- var url = 'http://' + location.host + '/' +
+ var url = location.protocol + '//' + location.host + '/' +
$('input', this)[0].value.replace(/^\//, '');
$.ajax({
url : url,
@@ -257,4 +257,4 @@ var MUB = {
MUB.checkRewrite();
}
};
-$(MUB.init);
+$(MUB.init);

0 comments on commit cb75a4f

Please sign in to comment.