Skip to content

Commit 50430b8

Browse files
committed
1 parent 4efab0d commit 50430b8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bids-validator/src/setup/loadSchema.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Schema } from '../types/schema.ts'
22
import { objectPathHandler } from '../utils/objectPathHandler.ts'
3-
import * as schemaDefault from 'https://bids-specification.readthedocs.io/en/latest/schema.json' assert { type: 'json' }
3+
import * as schemaDefault from 'https://bids-specification--1672.org.readthedocs.build/en/1672/schema.json' assert { type: 'json' }
44

55
/**
66
* Load the schema from the specification
@@ -15,7 +15,8 @@ export async function loadSchema(version = 'latest'): Promise<Schema> {
1515
if (bidsSchema !== undefined) {
1616
schemaUrl = bidsSchema
1717
} else if (version === 'latest' || versionRegex.test(version)) {
18-
schemaUrl = `https://bids-specification.readthedocs.io/en/${version}/schema.json`
18+
schemaUrl = 'https://bids-specification--1672.org.readthedocs.build/en/1672/schema.json'
19+
// schemaUrl = `https://bids-specification.readthedocs.io/en/${version}/schema.json`
1920
}
2021
try {
2122
const schemaModule = await import(/* @vite-ignore */ schemaUrl, {

0 commit comments

Comments
 (0)