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:
parent
93c29bd388
commit
e397e4d159
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user