Skip to content

Commit e08c99d

Browse files
authored
Merge pull request #141 from manick02/main
#140 Update workflow schema reference from site
2 parents a61f315 + b349fe6 commit e08c99d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

editor.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,14 +211,14 @@ <h5 class="card-title">
211211

212212
"}"
213213
].join('\n');
214-
var modelUri = monaco.Uri.parse("https://raw.githubusercontent.com/serverlessworkflow/specification/0.8.x/schema/workflow.json");
214+
var modelUri = monaco.Uri.parse("https://serverlessworkflow.io/schemas/0.8/workflow.json");
215215
var model = monaco.editor.createModel(JSON.stringify(helloWorldExample, null, 2), "json", modelUri);
216216

217217
// configure the JSON language support with schemas and schema associations
218218
monaco.languages.json.jsonDefaults.setDiagnosticsOptions({
219219
validate: true, allowComments: false,
220220
schemas: [{
221-
uri: "https://raw.githubusercontent.com/serverlessworkflow/specification/0.8.x/schema/workflow.json",
221+
uri: "https://serverlessworkflow.io/schemas/0.8/workflow.json",
222222
fileMatch: [modelUri.toString()]
223223
}], enableSchemaRequest: true
224224
});

0 commit comments

Comments
 (0)