From 1525e8399307dfed89de665c7922af9f6bd0d35c Mon Sep 17 00:00:00 2001 From: Nik Stuckenbrock <35262568+nikstuckenbrock@users.noreply.github.com> Date: Wed, 23 Apr 2025 10:50:24 +0000 Subject: [PATCH] Replace hard coded url by window location origin --- src/views/PluginView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/PluginView.vue b/src/views/PluginView.vue index b06cb54..b9e7584 100644 --- a/src/views/PluginView.vue +++ b/src/views/PluginView.vue @@ -51,7 +51,7 @@ async function loadComp() { if (!requestedPluginLoader) { try { const res = await $api.get( - `http://localhost:8888/plugin/${props.pluginName}/gui` + `${window.location.origin}/plugin/${props.pluginName}/gui` ); const html = res.data; const newElement = document.createElement("div");