mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
use www.schemastore
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user