Skip to content

Commit 9962d20

Browse files
authored
npm:world-atlas (#1123)
1 parent 1f426a3 commit 9962d20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/loaders.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const quakes = FileAttachment("quakes.csv").csv({typed: true});
4848
Now you can display the earthquakes in a map using [Observable Plot](./lib/plot):
4949

5050
```js
51-
const world = await fetch("https://cdn.jsdelivr.net/npm/world-atlas@1/world/110m.json").then((response) => response.json());
51+
const world = await fetch(import.meta.resolve("npm:world-atlas@1/world/110m.json")).then((response) => response.json());
5252
const land = topojson.feature(world, world.objects.land);
5353
```
5454

0 commit comments

Comments
 (0)