فهرست منبع

switch monaco to cdn

AykutSarac 2 سال پیش
والد
کامیت
12a26130f9
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/components/MonacoEditor/index.tsx

+ 1 - 1
src/components/MonacoEditor/index.tsx

@@ -9,7 +9,7 @@ import useGraph from "src/hooks/store/useGraph";
 
 loader.config({
   paths: {
-    vs: "https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs",
+    vs: "https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.34.0/min/vs",
   },
 });