diff --git a/content/pages/platform/functions/_index.md b/content/pages/platform/functions/_index.md index 3f5c223ec6881542016760744187bbfe14f40418..096914fcee142062fe4b0e3f98b579599a92fd66 100644 --- a/content/pages/platform/functions/_index.md +++ b/content/pages/platform/functions/_index.md @@ -154,7 +154,7 @@ Another helpful example for handling single path segments can be querying an API ```js --- -filename:function/character/[id].js +filename:functions/character/[id].js --- export async function onRequestGet({ params }) { const res = await fetch(`https://rickandmortyapi.com/api/character/${params.id}`);