Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About nifti loader configure #25

Open
kailin5 opened this issue Sep 4, 2020 · 0 comments
Open

About nifti loader configure #25

kailin5 opened this issue Sep 4, 2020 · 0 comments

Comments

@kailin5
Copy link

kailin5 commented Sep 4, 2020

Hi there,

I have tried to use jwt as authentication to get image from backend, however failed to do so, I used the code below, but it seems that it still is unauthorized, any idea about how to do this?
cornerstoneNIFTIImageLoader.nifti.configure({ beforeSend(xhr) { xhr.setRequestHeader('Authorization', jwt); } });
Reference from wadoimageloader
wadoImage loader https://github.com/cornerstonejs/cornerstoneWADOImageLoader/blob/master/docs/Configuration.md,

Any help will be highly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant