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

How to solve "Your page is NOT cross-origin" #166

Closed
abluobo opened this issue Aug 5, 2022 · 3 comments
Closed

How to solve "Your page is NOT cross-origin" #166

abluobo opened this issue Aug 5, 2022 · 3 comments

Comments

@abluobo
Copy link

abluobo commented Aug 5, 2022

When I use the pet/ct case in my own project, the localhost address and DICOM file address are different, and this error occurs.
Chrome 103.0.5060.134

image

@abluobo abluobo changed the title How to solve this problem in the project? How to solve "Your page is NOT cross-origin" ? Aug 5, 2022
@abluobo abluobo changed the title How to solve "Your page is NOT cross-origin" ? How to solve "Your page is NOT cross-origin" Aug 5, 2022
@pwespi
Copy link
Contributor

pwespi commented Aug 5, 2022

@abluobo
Copy link
Author

abluobo commented Aug 7, 2022

Thank you. The problem is solved.

@abluobo abluobo closed this as completed Aug 7, 2022
@lukepolson
Copy link

How did you fix this? I am struggling to see how those links give the required steps to make a page CORS enabled. Where exactly does one enable this? If I'm using VS Code, do I enable it in the "live-server" application? Or possibly is it a tag/variable I need to set in the html/javascript file? Is it something I need to configure in webpack? Please let me know @abluobo @pwespi .

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

3 participants