diff --git a/resources/schema/rime-default-yaml-schema.json b/resources/schema/rime-default-yaml-schema.json index 8edd779..1d15c77 100644 --- a/resources/schema/rime-default-yaml-schema.json +++ b/resources/schema/rime-default-yaml-schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://rimebow.azureedge.net/schema/rime-default-yaml-schema.json", + "$id": "https://d3gyfrtg0yt6hg.cloudfront.net/schema/rime-default-yaml-schema.json", "title": "Rime Default Configuration", "description": "A JSON Schema for RIME default.yaml configurations.", "type": "object", diff --git a/resources/schema/rime-schema-yaml-schema.json b/resources/schema/rime-schema-yaml-schema.json index ccee285..58221e3 100644 --- a/resources/schema/rime-schema-yaml-schema.json +++ b/resources/schema/rime-schema-yaml-schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://rimebow.azureedge.net/schema/rime-schema-yaml-schema.json", + "$id": "https://d3gyfrtg0yt6hg.cloudfront.net/schema/rime-schema-yaml-schema.json", "title": "Rime Schema Configuration", "description": "A JSON Schema for RIME schema configurations.", "type": "object", diff --git a/server/src/RimeLanguageService.ts b/server/src/RimeLanguageService.ts index de5bef5..c53e286 100644 --- a/server/src/RimeLanguageService.ts +++ b/server/src/RimeLanguageService.ts @@ -30,10 +30,10 @@ export class RimeLanguageService { constructor(clientSettings: ClientSettings) { this._connection = createConnection(); - const schemaUri = "https://rimebow.azureedge.net/schema/rime-schema-yaml-schema.json"; + const schemaUri = "https://d3gyfrtg0yt6hg.cloudfront.net/schema/rime-schema-yaml-schema.json"; let yamlSchemaService = new YAMLSchemaService(this._schemaRequestService, this._workspaceContext); yamlSchemaService.registerExternalSchema(schemaUri, ["/*.schema.yaml"]); - const defaultSchemaUri = "https://rimebow.azureedge.net/schema/rime-default-yaml-schema.json"; + const defaultSchemaUri = "https://d3gyfrtg0yt6hg.cloudfront.net/schema/rime-default-yaml-schema.json"; yamlSchemaService.registerExternalSchema(defaultSchemaUri, ["default.yaml"]); // if (settings.schemas) { // settings.schemas.forEach(settings => {