datajoint / sci-viz

Generic visualization framework for building dashboarding capabilities for DataJoint pipelines.
https://datajoint.com/docs/core/sci-viz
MIT License
6 stars 12 forks source link

Sci-viz does not properly handle sub directory hosting when making api calls #48

Open jverswijver opened 2 years ago

jverswijver commented 2 years ago

A previous release addressed the issue of deploying a sci-viz instance under a sub directory, it seems that this was only partially fixed as one of our users has reported that sci-viz does not make the right api calls when in a subdir.

Current workaround is to set REACT_APP_DJSCIVIZ_BACKEND_PREFIX to = /mysubdir/api instead of /api

jverswijver commented 2 years ago

Once this is fixed and an image is published the workaround will likely need to be removed when upgrading to the new image.