We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc81291 commit 3e5846cCopy full SHA for 3e5846c
site/content/examples/06-lifecycle/00-onmount/App.svelte
@@ -4,7 +4,7 @@
4
let photos = [];
5
6
onMount(async () => {
7
- const res = await fetch(`https://jsonplaceholder.typicode.com/photos?_limit=20`);
+ const res = await fetch(`/tutorial/api/album`);
8
photos = await res.json();
9
});
10
</script>
site/content/tutorial/07-lifecycle/01-onmount/text.md
@@ -15,7 +15,7 @@ We'll add an `onMount` handler that loads some data over the network:
15
16
17
18
19
20
21
0 commit comments