mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-22 17:28:44 +00:00
Disable the tiddlyweb adaptor unless loaded over http(s)
This commit is contained in:
@@ -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;
|
exports.adaptorClass = TiddlyWebAdaptor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user