question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Viewer config ignored

See original GitHub issue

Hi, I did not specify this as a bug, as I’m sure I must be doing something wrong. I did read the docs though and still stuck. Here is the issue:

  • I’ve setup a local server, serving the prebuild (from unpkg) index.html and app-config.js (latest version 3.4.0)
  • No matter what I change in app-config.js server section, always the default DCM4CHEE server is used (pointing to https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs)
  • however the app-config is in use: console: window.config.servers[“dicomWeb”][0] shows my custom end-points.
  • also changing (for testing) the showStudyList to false disables the viewer (so the config is indeed active) config looks like this: dicomWeb: [ { name: 'DCM4CHEE', wadoUriRoot: 'http://localhost:8899/wado', qidoRoot: 'http://localhost:8899/rs', wadoRoot: 'http://localhost:8899/rs', qidoSupportsIncludeField: true, imageRendering: 'wadors', thumbnailRendering: 'wadors', enableStudyLazyLoad: true, }, ], Any help would be much appreciated.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
whagecommented, Aug 17, 2021

Was this closed because of inactivity? I’m also hitting this issue and even though I can’t provide a fix, I think it’d be better to keep this one open in case someone wants to and can fix it.

Anyways, my dirty workaround was to put a sessionStorage.clear(); line at the beginning of the app config js file to make sure that updated config values will always take effect.

0reactions
Diegovictorbrcommented, Oct 22, 2022

Was this closed because of inactivity? I’m also hitting this issue and even though I can’t provide a fix, I think it’d be better to keep this one open in case someone wants to and can fix it.

Anyways, my dirty workaround was to put a sessionStorage.clear(); line at the beginning of the app config js file to make sure that updated config values will always take effect.

Indeed, you can clear the sessionStorage as it holds a state object for OHIF usage. But I recommend using

sessionStorage.removeItem('state');

To delete specifically what you need instead of the entire sessionStorage object.

Read more comments on GitHub >

github_iconTop Results From Across the Web

web.config file being ignored ? - MSDN - Microsoft
Hi, The error "put a web.config with customerrores set to "off" " is a generic error. Just check whether in the web.config you...
Read more >
app.config being ignored? - Stack Overflow
I checked and there is indeed a FileName.exe.config, which I've added to the original post. It's being ignored just the same though. –...
Read more >
web.config ignored!?!?! - ASP.NET - Bytes
I have a ASP.Net 2.0 web application that I am trying to debug. Problem is that I can't get the error message to...
Read more >
Show ignored files in Atom's tree view - Michael Lee
You can make Atom reveal your VCS ignored files through the settings. To do this select Atom > Preferences. When your settings show...
Read more >
Settings in .editorconfig are ignored or get overridden
editorconfig anymore. I use the NuGet package StyleCop.Analyzers and Microsoft.CodeAnalysis.FxCopAnalyzers . I have specified any deviation from the default ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found