Explorar o código

needs to be loaded from root

Raanan Weber %!s(int64=5) %!d(string=hai) anos
pai
achega
43cfdf3209
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
         }