diff --git a/docs/plugins/call-existing-api.md b/docs/plugins/call-existing-api.md index e91506623b..da76fa8434 100644 --- a/docs/plugins/call-existing-api.md +++ b/docs/plugins/call-existing-api.md @@ -79,7 +79,7 @@ proxy: ```ts // Inside your component const backendUrl = config.getString('backend.baseUrl'); -fetch(`${backendUrl}/proxy/frobs/list`) +fetch(`${backendUrl}/api/proxy/frobs/list`) .then(response => response.json()) .then(payload => setFrobs(payload as Frob[])); ```