Apicurio / apicurio-registry

An API/Schema registry - stores APIs and Schemas.
https://www.apicur.io/registry/
Apache License 2.0
606 stars 269 forks source link

Artifact content not shown because Monaco Editor fails to load from CDN on isolated network #5035

Open larsw opened 2 months ago

larsw commented 2 months ago

The @monaco-editor/react or underlying depends on https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs/loader.js If Apicurio Registry is deployed on an isolated network without Internet access, Apicurio Registry only shows "Loading..." when navigating to the content of an artifact.

apicurio-bot[bot] commented 2 months ago

Thank you for reporting an issue!

Pinging @jsenko to respond or triage.

larsw commented 2 months ago

This seems related, but as far as I can see, the monaco-editor/react code base has deviated enough since 2019 so that the details in the issue isn't directly true today: https://github.com/suren-atoyan/monaco-react/issues/40