Skip to content

Frontend Missing /api/v1 in Viguno Base URL → 404 Errors #1182

@fazialnjd

Description

@fazialnjd

I launched both reev services using:

https://github.com/bihealth/reev-docker-compose

The frontend sends requests like:

http://localhost/internal/proxy/viguno/hpo/genes?gene_id=HGNC:1100&hpo_terms=true

But Viguno expects:

http://localhost/internal/proxy/viguno/api/v1/hpo/genes?gene_id=HGNC:1100&hpo_terms=true

When I manually test with curl, the version with /api/v1/ returns data correctly.

The version without /api/v1/ gives a 404 Not Found.

It seems the frontend is missing the /api/v1 segment in its base_url for Viguno.

Expected Fix
Update the frontend configuration so that Viguno requests use:

/internal/proxy/viguno/api/v1
as the base path.

Please let me know if this path change should be made in a specific config file, or if there's an environment variable intended for this.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions