소스 검색

needs to be loaded from root

Raanan Weber 5 년 전
부모
커밋
43cfdf3209
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Playground/js/monacoCreator.js

+ 1 - 1
Playground/js/monacoCreator.js

@@ -115,7 +115,7 @@ class MonacoCreator {
         this.setupDefinitionWorker(libContent);
 
         // Load code templates
-        response = await fetch("templates.json");
+        response = await fetch("/templates.json");
         if (response.ok) {
             this.templates = await response.json();
         }