diff --git a/main.js b/main.js index 43a6c36..121bbf5 100644 --- a/main.js +++ b/main.js @@ -140,7 +140,7 @@ function objectToTable(o) { if (typeof value === "object") { value = objectToTable(value); } - if (typeof value === "string" && value.startsWith('https://')) { + if (typeof value === "string" && /^https?:\/\//.test(value)) { value = `${value}` } table += `${key}${value}`;