浏览代码

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();
         }