Skip to content

Loading... when loader.js file is blocked #3816

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

Open
rezabj opened this issue Apr 23, 2025 · 0 comments
Open

Loading... when loader.js file is blocked #3816

rezabj opened this issue Apr 23, 2025 · 0 comments
Labels

Comments

@rezabj
Copy link

rezabj commented Apr 23, 2025

Describe the bug
Hi.

We have hardened infrastructure, and the internet is blocked except few sites. Site https://developer.microsoft.com/en-us/graph/graph-explorer is allowed, but doesn't show any output.
I found out, that there is blocked this JS https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs/loader.js. Our security architect doesn't wont allow it and ask for using https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity. Are you able to add hashes of js files?

Example:
<script src="https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs/loader.js" integrity="sha384-pHG02SG8pId94Np3AbPmBEJ1yPqaH0IkJGLSNGXYmuGhkazT8Lr/57WYpbkGjJtu" crossorigin="anonymous"></script>

To Reproduce
Steps to reproduce the behavior:

  1. Block access to url cdn.jsdelivr.net
  2. Open Graph API Explorer.
  3. Run any request.
  4. See only "Loading".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant