From 6a54ce9664a36a0c76a84f675a030d2fe45e6357 Mon Sep 17 00:00:00 2001 From: rizrmd Date: Sat, 25 May 2024 01:30:22 +0700 Subject: [PATCH] fix --- app/web/src/utils/script/jscript.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/web/src/utils/script/jscript.ts b/app/web/src/utils/script/jscript.ts index f8380efc..89266e69 100644 --- a/app/web/src/utils/script/jscript.ts +++ b/app/web/src/utils/script/jscript.ts @@ -57,7 +57,7 @@ export const jscript = { const e = await import("@monaco-editor/react"); jscript.editor = e.Editor; - e.loader.config({ paths: { vs: "/min/vs" } }); + e.loader.config({ paths: { vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.49.0/min/vs" } }); this.events.editorLoaded(); if (enabled?.esbuild !== false) {