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

Fix: Monaco 404 errors #3222

Merged
merged 5 commits into from
Jun 19, 2024
Merged

Fix: Monaco 404 errors #3222

merged 5 commits into from
Jun 19, 2024

Conversation

ElinorW
Copy link
Collaborator

@ElinorW ElinorW commented Jun 19, 2024

Overview

Fix #3221
updates code to fetch web workers from the correct destination

Demo

Updated
image

Notes

The worker URL functions previously existed but we removed them as we had stopped using the monaco-editor webpack plugin. Once we bundled Monaco, we resumed using the plugin and must have forgotten to update the worker urls.
Ref: #2615

Testing Instructions

  • Checkout this branch
  • Load GE
  • Check network tab on developer tools
  • Observe 200 OK on editor.worker.js/json.worker.js calls

@ElinorW ElinorW requested a review from a team as a code owner June 19, 2024 13:37
src/index.tsx Outdated Show resolved Hide resolved
src/index.tsx Outdated Show resolved Hide resolved
musale
musale previously approved these changes Jun 19, 2024
Copy link
Contributor

@musale musale left a comment

Choose a reason for hiding this comment

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

Good to go 🚢

thewahome
thewahome previously approved these changes Jun 19, 2024
Co-authored-by: Musale Martin <martinmusale@microsoft.com>
@ElinorW ElinorW dismissed stale reviews from thewahome and musale via 5eebe43 June 19, 2024 15:54
Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://jolly-sand-0ac78c710-3222.centralus.azurestaticapps.net

Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://jolly-sand-0ac78c710-3222.centralus.azurestaticapps.net

1 similar comment
Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://jolly-sand-0ac78c710-3222.centralus.azurestaticapps.net

@ElinorW ElinorW merged commit 072f4e6 into dev Jun 19, 2024
19 of 20 checks passed
@ElinorW ElinorW deleted the fix/monaco-errors branch June 19, 2024 17:15
Copy link

sonarcloud bot commented Jun 19, 2024

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.

404 errors on console from monaco searching for web workers
3 participants