Skip to content

Strip /v1/ sent by badly behaved applications #267

@ligix

Description

@ligix

Some applications like appending v1 to the base url for some reason.
When fed with https://example.com/backend-api/codex/ they contact https://example.com/backend-api/codex/v1/models which severely aggravates my homicidal thoughts while I consider WHY on earth they would ask the user the base url and then NOT treat it like the base url it should be.

Please, for the love of god, just strip /v1/ from api calls such that https://example.com/backend-api/codex/v1/models starts working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions