Skip to content

Commit

Permalink
chore: update mise schema URL
Browse files Browse the repository at this point in the history
  • Loading branch information
hverlin committed Dec 28, 2024
1 parent a4d3504 commit b99f789
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/miseService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,12 @@ export class MiseService {
this.execMiseCommand(command, { setMiseEnv }),
)
.define("fetchSchema", async () => {
const res = await fetch(
"https://raw.githubusercontent.com/jdx/mise/refs/heads/main/schema/mise.json",
);
const res = await fetch("https://mise.jdx.dev/schema/mise.json");
if (!res.ok) {
logger.warn(
`Failed to fetch Mise schema (status: ${res.status})`,
await res.text().catch(() => "Unknown error"),
);
return [];
}
const json = await res.json();
Expand Down

0 comments on commit b99f789

Please sign in to comment.