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.
2 parents 666929a + 3e5846c commit 0a086c8Copy full SHA for 0a086c8
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