We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
The code generating the sample list in /groups is unaware of bonsai client being proxied/hosted at a subpath when bonsai client is deployed as such
/groups
In the picture above the linked sample URL is http://mtlucmds1.lund.skane.se/samples/MT21000044-v2 while it should be http://mtlucmds1.lund.skane.se/bonsai/samples/MT21000044-v2
Additional context
Deployed with gunicorn with -e SCRIPT_NAME /bonsai/
-e SCRIPT_NAME /bonsai/
The text was updated successfully, but these errors were encountered:
The problem is caused by the javascript function that formtats the sample id was not designed for this type of hosting solution.
One option would be to use set the variable SCRIPT_ROOT variable in the flask templates.
SCRIPT_ROOT
See, https://flask.palletsprojects.com/en/2.3.x/patterns/javascript/
Sorry, something went wrong.
This is the same problem we're having now...
mhkc
Successfully merging a pull request may close this issue.
Describe the bug
The code generating the sample list in
/groups
is unaware of bonsai client being proxied/hosted at a subpath when bonsai client is deployed as suchIn the picture above the linked sample URL is http://mtlucmds1.lund.skane.se/samples/MT21000044-v2 while it should be http://mtlucmds1.lund.skane.se/bonsai/samples/MT21000044-v2
Additional context
Deployed with gunicorn with
-e SCRIPT_NAME /bonsai/
The text was updated successfully, but these errors were encountered: