You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To accommodate the planned structure in Kubernetes deployments, we need to change the appConfigPath in index.html from an absolute path to a relative one.
The current path, var appConfigPath = "/config/config.js", is a problem for metacatui deployments that are in a sub-directory of a domain, like https://arcticdata.io/catalog. Currently, this deployment updates the config path in index to prepend /catalog/ to the start of the path, but this would not be needed if we use the relative path instead.
We should ensure that this change will be compatible with all existing (non Kubernetes) installations.
Thanks for finding this @rushirajnenuji ! You're right, this solution isn't going to work. I'm going to re-open this issue and revert the change in develop... @artntek we'll need to figure out another way to do this
robyngit
changed the title
Change appConfigPath in index.html to the relative path config/config.js
Change appConfigPath in index.html to be compatible with both Kubernetes and non-Kubernetes deployments
Jul 17, 2024
To accommodate the planned structure in Kubernetes deployments, we need to change the
appConfigPath
inindex.html
from an absolute path to a relative one.The current path,
var appConfigPath = "/config/config.js"
, is a problem for metacatui deployments that are in a sub-directory of a domain, like https://arcticdata.io/catalog. Currently, this deployment updates the config path in index to prepend/catalog/
to the start of the path, but this would not be needed if we use the relative path instead.We should ensure that this change will be compatible with all existing (non Kubernetes) installations.
See also #2453
The text was updated successfully, but these errors were encountered: