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.
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