I’m running a docker container in Kubernetes with orthancteam/orthanc:24.4.0 image and OHIF plugin enabled.
however, when I visit the OHIF viewer path I get two errors:
- Failed to load resource: the server responded with a status of 401 (Unauthorized). This happens when trying to download manifest.json
- init-service-worker.js:1 Uncaught TypeError: Cannot read properties of undefined (reading ‘getRegistrations’) at init-service-worker.js:1:25
init-service-worker.js file looks like this:
navigator.serviceWorker.getRegistrations().then(function (registrations) {
for (let registration of registrations) {
registration.unregister();
}
});
I think these two errors are causing I get a black screen.
any idea on how can I fix these two errors??
thanks in advance for any help you can provide