Clinical-Genomics-Lund / bonsai

Visualize and analyze resistance and outbreak of bacterial pathogen

Home Page:https://bonsai-wgs.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid URL in samples tables when hosting Bonsai under a different route

mhkc opened this issue · comments

Describe the bug
The URLs linking to samples in the sample tables are not valid when Bonsai is hosted under a root different than "/".

I Bonsai is hosted under the URL, /bonsai

Then the generated URL is: http://loaclhost/sample/11mt0500103_180607_nb501697_0060_ah33mnafxy/

It should have been: http://localhost/bonsai/sample/11mt0500103_180607_nb501697_0060_ah33mnafxy/