Skip to content

fix: update Viguno base URL to include /api/v1 to prevent 404 errors #1184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fazialnjd
Copy link

Description

This pull request fixes the missing /api/v1 segment in the Viguno base URL on the frontend configuration.

Currently, frontend requests to Viguno lack the /api/v1 prefix, causing 404 Not Found errors when accessing Viguno endpoints via the proxy.

Updating the base URL to include /api/v1 ensures the frontend requests are routed correctly to Viguno's API.

Related Issue

Fixes #1182

Motivation and Context

  • Frontend was sending requests like /internal/proxy/viguno/hpo/genes?...
  • Viguno expects /internal/proxy/viguno/api/v1/hpo/genes?...
  • Manual curl tests confirm only URLs with /api/v1 return valid data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Frontend Missing /api/v1 in Viguno Base URL → 404 Errors
1 participant