Load dcm File by wadors

Hi, I like the new cornerstone3D very much and am migrating cornerstone2D to the latest version. But now I have a large number of dcm files on my server, and I can’t separate them all. I think of a way, is to load .dcm file through wadors, and then get pixel data from it, please tell me how to modify the code. Or maybe there’s a better way?

wadors has a separate end point for pixelData, if your server cannot handle that means your sever is not compliant. Although we have support for wadouri as well
take a look at the wadouri examples in cornerstone3D