Disable the tiddlyweb adaptor unless loaded over http(s)

This commit is contained in:
Jermolene 2014-04-03 16:33:42 +01:00
parent 93c29bd388
commit e397e4d159

View file

@ -311,7 +311,7 @@ TiddlyWebAdaptor.prototype.parseEtag = function(etag) {
}
};
if($tw.browser) {
if($tw.browser && document.location.protocol.substr(0,4) === "http" ) {
exports.adaptorClass = TiddlyWebAdaptor;
}