Skip to content

Hard-coded links in the code cause the server.baseUrlPath to fail in reverse proxy environments‌ #679

@objectSgy

Description

@objectSgy

I need to test my Milvus vector database in an offline Kubernetes cluster. Due to the lack of network installation environment, I am using the official Dockerfile to package the image and run it in the cluster. I need to access the page externally, so I have configured an Ingress with a frontend route of /mybench, and added --server.baseUrlPath /mybench in main.py. After starting, the configuration took effect, and the logs show that mybench appears in the Local URL. However, when I click on RunTest, it directly jumps to www.xxxx.com/run. Upon checking the code, I found that the jumps in frontend/components/welcome/welcomePrams.py are all hard-coded as /run.

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