From 2cb0d9b607d07fc53e54a9814db0da54bfb6e369 Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Thu, 8 Jan 2026 11:28:56 +0100 Subject: [PATCH] Fixed Workflow API URL --- frontend/pages/workflows/[token].vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/pages/workflows/[token].vue b/frontend/pages/workflows/[token].vue index 80b1697..a245804 100644 --- a/frontend/pages/workflows/[token].vue +++ b/frontend/pages/workflows/[token].vue @@ -4,7 +4,7 @@ definePageMeta({ middleware: [], // Keine Auth-Checks durch Nuxt auth: false // Falls du das nuxt-auth Modul nutzt }) - +const config = useRuntimeConfig() const route = useRoute() const token = route.params.token const { $api } = useNuxtApp() // Dein Fetch-Wrapper @@ -27,7 +27,7 @@ const loadContext = async () => { // Abruf an dein Fastify Backend // Pfad evtl. anpassen, wenn du Proxy nutzt - const res = await $fetch(`http://localhost:3100/workflows/context/${token}`, { headers }) + const res = await $fetch(`${config.public.apiBase}/workflows/context/${token}`, { headers }) context.value = res status.value = 'ready'