diff --git a/site/content/tutorial/04-logic/06-await-blocks/app-b/App.svelte b/site/content/tutorial/04-logic/06-await-blocks/app-b/App.svelte index 8c8036c0f1..a6d0346733 100644 --- a/site/content/tutorial/04-logic/06-await-blocks/app-b/App.svelte +++ b/site/content/tutorial/04-logic/06-await-blocks/app-b/App.svelte @@ -2,7 +2,7 @@ let promise = getRandomNumber(); async function getRandomNumber() { - const res = await fetch(`tutorial/random-number`); + const res = await fetch(`/tutorial/random-number`); const text = await res.text(); if (res.ok) { @@ -27,4 +27,4 @@

The number is {number}

{:catch error}

{error.message}

-{/await} \ No newline at end of file +{/await}