mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2025-07-14 13:34:27 -06:00
Force SSL
This commit is contained in:
parent
edf619ea0a
commit
015e9093a1
@ -14,6 +14,9 @@
|
|||||||
if(window.location.href.indexOf("nextstepwebs.github.io") !== -1) {
|
if(window.location.href.indexOf("nextstepwebs.github.io") !== -1) {
|
||||||
window.location.href = "https://simplemde.com/";
|
window.location.href = "https://simplemde.com/";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(window.location.protocol != "https:")
|
||||||
|
window.location.href = "https:"+window.location.href.substring(window.location.protocol.length);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user