dev #40

Merged
flfeders merged 14 commits from dev into main 2026-01-08 22:21:07 +00:00
Showing only changes of commit 2cb0d9b607 - Show all commits

View File

@@ -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'