Skip to content

Conversation

@vmcj
Copy link
Member

@vmcj vmcj commented Nov 9, 2025

Fixes a CSP violation as monaco-editor loads a font over data:.

@Kevinjil can you check if you get the same warning without it?

Fixes a CSP violation as monaco-editor loads a font over data:.
@vmcj vmcj requested a review from Kevinjil November 9, 2025 10:32
Copy link
Contributor

@Kevinjil Kevinjil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not notice, but you are correct. I also see this error, which is caused when loading Monaco but I have not figured out which image is missing, if any.

The page’s settings blocked the loading of a resource (img-src) at blob:http://localhost:12345/6fb207db-4f78-4ff5-889b-74f17e82641f because it violates the following directive: “img-src 'self' data:”

@vmcj vmcj added this pull request to the merge queue Nov 9, 2025
Merged via the queue into DOMjudge:main with commit 8ba403e Nov 9, 2025
37 checks passed
@vmcj vmcj deleted the monaco_font branch November 9, 2025 22:05
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

Successfully merging this pull request may close these issues.

2 participants