mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 19:42:56 +01:00
To https
This commit is contained in:
parent
69991d6613
commit
1693f99f92
1 changed files with 3 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ monaco.languages.json.jsonDefaults.setDiagnosticsOptions({
|
||||||
validate: true,
|
validate: true,
|
||||||
schemas: [
|
schemas: [
|
||||||
{
|
{
|
||||||
uri: "http://myserver/foo-schema.json", // id of the first schema
|
uri: "https://myserver/foo-schema.json", // id of the first schema
|
||||||
fileMatch: [modelUri.toString()], // associate with our model
|
fileMatch: [modelUri.toString()], // associate with our model
|
||||||
schema: {
|
schema: {
|
||||||
type: "object",
|
type: "object",
|
||||||
|
|
@ -18,13 +18,13 @@ monaco.languages.json.jsonDefaults.setDiagnosticsOptions({
|
||||||
enum: ["v1", "v2"],
|
enum: ["v1", "v2"],
|
||||||
},
|
},
|
||||||
p2: {
|
p2: {
|
||||||
$ref: "http://myserver/bar-schema.json", // reference the second schema
|
$ref: "https://myserver/bar-schema.json", // reference the second schema
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
uri: "http://myserver/bar-schema.json", // id of the second schema
|
uri: "https://myserver/bar-schema.json", // id of the second schema
|
||||||
schema: {
|
schema: {
|
||||||
type: "object",
|
type: "object",
|
||||||
properties: {
|
properties: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue