From 647d56b6cef9e48d4368afd2ae9628b57a897c84 Mon Sep 17 00:00:00 2001 From: Peter Macdonald Date: Tue, 20 Dec 2022 11:12:02 +0100 Subject: [PATCH] Added /api/ to the example as its missing and wont work without it Signed-off-by: Peter Macdonald --- docs/plugins/call-existing-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[])); ```