Skip to content

cannot proxy biorouter-headless on a path prefix #9

Description

@minrk

Describe the bug

💡 Before filing, please check common issues:
BioRouter Troubleshooting Guide

📦 To help us debug faster, please describe your setup and attach any relevant logs from ~/.config/biorouter/logs/.
👉 Full troubleshooting guide

biorouter-headless assumes it is always served on /, and won't resolve assets if it is proxied behind a path prefix such as /biorouter/. Setting public-url to a URL with a path prefix would be a reasonable way to convey this information, but it doesn't affect the URLs used to fetch assets.


To Reproduce
Steps to reproduce the behavior:

  1. launch biorouter-headless
  2. proxy behind a url prefix like /biorouter/
  3. 404 on /assets/... which should be $prefix/assets/... (using relative URLs like assets/... often work and are simplest where possible, but not always possible)

Expected behavior

biorouter-headless can be served on a path prefix, for proxying purposes.


Please provide the following information

  • OS & Arch: Ubuntu 24.04, x86 (container)
  • Interface: [UI / CLI] headless
  • Version: [e.g. v1.0.2] v1.87.1
  • Extensions enabled: none
  • Provider & Model: not relevant

Additional context

I'm exploring deploying biorouter with JupyterHub and testing out various modes. To expose biorouter-headless in this environment, it must support running on an http path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions