mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Reverting back to using secure = true with Meteor.absoluteUrl() and added the
force-ssl package to make sure docs are always served via SSL.
This commit is contained in:
@@ -14,3 +14,4 @@ reload-safetybelt
|
||||
simple:markdown-templating
|
||||
simple:highlight.js
|
||||
less
|
||||
force-ssl
|
||||
|
||||
@@ -14,6 +14,7 @@ deps@1.0.6
|
||||
ejson@1.0.5
|
||||
fastclick@1.0.2
|
||||
follower-livedata@1.0.3
|
||||
force-ssl@1.0.3
|
||||
geojson-utils@1.0.2
|
||||
html-tools@1.0.3
|
||||
htmljs@1.0.3
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
navigate = function (hash) {
|
||||
var secure = false;
|
||||
if (/^https:/.test(window.location.href)) {
|
||||
secure = true;
|
||||
}
|
||||
window.location.replace(Meteor.absoluteUrl(null, { secure: secure }) + hash);
|
||||
window.location.replace(Meteor.absoluteUrl(null, { secure: true }) + hash);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user