From f2eb4e1519f3df99c04f2c46045b8e173db1683e Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Mon, 6 Jan 2025 18:49:07 +0300 Subject: [PATCH] (fix): added missing slash to "loadWorkflow" templates endpoint (#2174) --- src/components/templates/TemplateWorkflowsContent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/templates/TemplateWorkflowsContent.vue b/src/components/templates/TemplateWorkflowsContent.vue index e593f3a68..ce84cb4a7 100644 --- a/src/components/templates/TemplateWorkflowsContent.vue +++ b/src/components/templates/TemplateWorkflowsContent.vue @@ -112,7 +112,7 @@ const loadWorkflow = async (id: string) => { let json if (selectedTab.value.moduleName === 'default') { // Default templates provided by frontend are served on this separate endpoint - json = await fetch(api.fileURL(`templates/${id}.json`)).then((r) => + json = await fetch(api.fileURL(`/templates/${id}.json`)).then((r) => r.json() ) } else {