mirror of https://github.com/microsoft/vscode.git
use www.schemastore
This commit is contained in:
parent
434260839e
commit
30cfae0d78
|
@ -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) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"$schema": "https://json.schemastore.org/mocharc",
|
||||
"$schema": "https://www.schemastore.org/mocharc",
|
||||
"ui": "tdd",
|
||||
"timeout": 10000
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"$schema": "https://json.schemastore.org/mocharc",
|
||||
"$schema": "https://www.schemastore.org/mocharc",
|
||||
"ui": "bdd",
|
||||
"timeout": 10000
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue