Viewer config ignored
See original GitHub issueHi, 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:
- Created 4 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 usingsessionStorage.removeItem('state');
To delete specifically what you need instead of the entire sessionStorage object.