You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: render the WES service info without a request to APP_ORIGIN #104
src/app/dashboard/workflows/service-info/page.tsx (from #100) is a server component that fetches ${APP_ORIGIN}/api/workflows/get-service-info over the network. So Krini's server must reach its own public address: behind clusters, proxies or firewalls without hairpin routing the page fails, and without APP_ORIGIN the URL becomes undefined/api/.... It also costs an extra round trip through the ingress.
How?
Move the logic of src/app/api/workflows/get-service-info/route.ts into a function in src/lib/ and call it directly from the page (and from the route handler, if the route is still needed). Then drop the "own public origin" item from "Network access" in docs/operator-guide/deployment.md and the note at APP_ORIGIN in configuration.md.
Acceptance criteria
The service-info page works when Krini's server can't reach APP_ORIGIN.
Activity