From 5206eec442c048c884b863d7269ddb0184a26ad5 Mon Sep 17 00:00:00 2001 From: Oliver Franke Date: Wed, 8 May 2024 15:34:12 +0200 Subject: [PATCH] adjust screenshots api endpoint (#97) --- src/pages/api/create-shortlink.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/api/create-shortlink.ts b/src/pages/api/create-shortlink.ts index 269d1957..26057df2 100644 --- a/src/pages/api/create-shortlink.ts +++ b/src/pages/api/create-shortlink.ts @@ -42,7 +42,7 @@ const generateImage = async ({ url: screenshotUrl, }); const response = await fetch( - `https://api.opendiscourse.de:5300/screenshot?${urlEncodedFetchParams}` + `https://api.opendiscourse.de:5300/screenshots?${urlEncodedFetchParams}` ); const result: GenerateImageResponse = await response.json();