This commit is contained in:
rizrmd 2024-05-25 01:30:22 +07:00
parent 2b9191ed60
commit 6a54ce9664
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ export const jscript = {
const e = await import("@monaco-editor/react"); const e = await import("@monaco-editor/react");
jscript.editor = e.Editor; 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(); this.events.editorLoaded();
if (enabled?.esbuild !== false) { if (enabled?.esbuild !== false) {