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 {