Skip to content

Commit 560240b

Browse files
authored
Use official providers list in examples
1 parent c9eae7a commit 560240b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ If you are **not** using ES6 or CDN, add to your HTML just before closing the
4040

4141
```ts
4242
const optimadeClient = new Optimade({
43-
providersUrl: "/path/to/optimade/providers.json",
43+
providersUrl: "https://providers.optimade.org/providers.json",
4444
});
4545

4646
console.log(optimadeClient.providers); // { [id: string]: Provider }[]
@@ -65,7 +65,7 @@ suited for the server environment.
6565
import prefetched from 'optimade/dist/prefetched.json';
6666

6767
const optimadeClient = new Optimade({
68-
providersUrl: "/path/to/optimade/providers.json",
68+
providersUrl: "https://providers.optimade.org/providers.json",
6969
});
7070

7171
optimadeClient.providers = prefetched.providers;

0 commit comments

Comments
 (0)