From 1d672d16226aaff49ff55754e3d84b7ebd9c32a8 Mon Sep 17 00:00:00 2001 From: Aune <31650531+aunefyren@users.noreply.github.com> Date: Mon, 30 Jan 2023 14:15:30 +0100 Subject: [PATCH] Update index.js --- web/js/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/js/index.js b/web/js/index.js index 9d3da9d..012c1f7 100644 --- a/web/js/index.js +++ b/web/js/index.js @@ -369,6 +369,11 @@ function get_wrapper_version(link_mode, hash) { } else if(!result.error && link_mode) { + if(result.wrapperr_root != "") { + api_url = window.location.origin + "/" + result.wrapperr_root + "/api/"; + console.log("URL: " + api_url) + } + console.log("Getting link page..."); wrapped_link_actions(hash);