fix: use new schemastore catalog url
Some checks failed
Continuous integration / Tag Releases (push) Has been cancelled
Continuous integration / Check formatting (push) Has been cancelled
Continuous integration / Test on Rust stable (push) Has been cancelled
Continuous integration / Check on WASM (push) Has been cancelled
Continuous integration / Run toml-test (push) Has been cancelled
Continuous integration / Test libraries with MSRV (push) Has been cancelled
Continuous integration / Test binaries with MSRV (push) Has been cancelled
Continuous integration / Test WASM with MSRV (push) Has been cancelled

SchemaStore.org is in the process of transition to GitHub pages hosting.
The new, and more canonical, URL for the catalog is:

> https://json.schemastore.org/api/json/catalog.json

though this does require following a redirect.

Ref: SchemaStore/schemastore#4759
Ref: SchemaStore/schemastore#4763
Ref: tamasfe/taplo#800
Signed-off-by: JP-Ellis <josh@jpellis.me>
This commit is contained in:
JP-Ellis 2025-06-05 13:50:36 +10:00 committed by Jakub Panek
parent 1242bbe55d
commit a2463554c3
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ use taplo::dom::Node;
use tokio::sync::Semaphore;
use url::Url;
pub const DEFAULT_CATALOGS: &[&str] = &["https://www.schemastore.org/api/json/catalog.json"];
pub const DEFAULT_CATALOGS: &[&str] = &["https://json.schemastore.org/api/json/catalog.json"];
pub mod priority {
pub const BUILTIN: usize = 10;

View file

@ -233,7 +233,7 @@
"type": "string"
},
"default": [
"https://www.schemastore.org/api/json/catalog.json"
"https://json.schemastore.org/api/json/catalog.json"
]
},
"evenBetterToml.schema.associations": {