diff --git a/extensions/json-language-features/client/src/node/jsonClientMain.ts b/extensions/json-language-features/client/src/node/jsonClientMain.ts index d57ebf80834..1172d6cbde1 100644 --- a/extensions/json-language-features/client/src/node/jsonClientMain.ts +++ b/extensions/json-language-features/client/src/node/jsonClientMain.ts @@ -158,7 +158,7 @@ async function getSchemaRequestService(context: ExtensionContext, log: LogOutput return { getContent: async (uri: string) => { - if (cache && /^https?:\/\/json\.schemastore\.org\//.test(uri)) { + if (cache && /^https?:\/\/(json|www)\.schemastore\.org\//.test(uri)) { const content = await cache.getSchemaIfUpdatedSince(uri, retryTimeoutInHours); if (content) { if (log.logLevel === LogLevel.Trace) { diff --git a/test/.mocharc.json b/test/.mocharc.json index 1397b6053a3..fc49e399493 100644 --- a/test/.mocharc.json +++ b/test/.mocharc.json @@ -1,5 +1,5 @@ { - "$schema": "https://json.schemastore.org/mocharc", + "$schema": "https://www.schemastore.org/mocharc", "ui": "tdd", "timeout": 10000 } diff --git a/test/monaco/.mocharc.json b/test/monaco/.mocharc.json index fd9de38be2e..aaacd6913e9 100644 --- a/test/monaco/.mocharc.json +++ b/test/monaco/.mocharc.json @@ -1,5 +1,5 @@ { - "$schema": "https://json.schemastore.org/mocharc", + "$schema": "https://www.schemastore.org/mocharc", "ui": "bdd", "timeout": 10000 }