From 7a8c8af446d56f1cfe7f27f14bf2eacb9372d5b7 Mon Sep 17 00:00:00 2001 From: Simon Harrer Date: Thu, 13 Jun 2024 17:33:59 +0200 Subject: [PATCH] Fix share link --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 362ca47..2a0e30c 100644 --- a/src/index.js +++ b/src/index.js @@ -132,7 +132,7 @@ document.getElementById("menu-item-save").addEventListener("click", function () document.getElementById("menu-item-share").addEventListener("click", function () { document.getElementById("menu-file").click(); - const url = "localhost:9000/?dc=" + window.btoa(editor.getValue().toString); + const url = "https://editor.datacontract.com/?dc=" + window.btoa(editor.getValue().toString); navigator.clipboard.writeText(url); alert("Copied share URL to clipboard")