1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

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;
}