File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { Schema } from '../types/schema.ts'
2
2
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' }
4
4
5
5
/**
6
6
* Load the schema from the specification
@@ -15,7 +15,8 @@ export async function loadSchema(version = 'latest'): Promise<Schema> {
15
15
if ( bidsSchema !== undefined ) {
16
16
schemaUrl = bidsSchema
17
17
} 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`
19
20
}
20
21
try {
21
22
const schemaModule = await import ( /* @vite -ignore */ schemaUrl , {
You can’t perform that action at this time.
0 commit comments