Replace http:// with https://

This commit is contained in:
Arnaud Lier 2020-11-12 08:48:53 +01:00 committed by GitHub
parent 6abda7ab68
commit fbe511d5ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -617,7 +617,7 @@ function drawLink(editor) {
var cm = editor.codemirror;
var stat = getState(cm);
var options = editor.options;
var url = "http://";
var url = "https://";
if(options.promptURLs) {
url = prompt(options.promptTexts.link);
if(!url) {
@ -634,7 +634,7 @@ function drawImage(editor) {
var cm = editor.codemirror;
var stat = getState(cm);
var options = editor.options;
var url = "http://";
var url = "https://";
if(options.promptURLs) {
url = prompt(options.promptTexts.image);
if(!url) {
@ -2025,4 +2025,4 @@ SimpleMDE.prototype.toTextArea = function() {
}
};
module.exports = SimpleMDE;
module.exports = SimpleMDE;