Skip to content

Commit 26d6215

Browse files
committed
Update latest.ts
1 parent 3dd11ac commit 26d6215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netlify/edge-functions/latest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default async (request: Request): Promise<Response> => {
1414
);
1515
const modifiedData = data.map((item: any) => ({
1616
...item,
17-
short_url: `${urlBase}/${item.short_url}`,
17+
short_url: `${urlBase}${item.short_url}`,
1818
}));
1919

2020
return new Response(JSON.stringify(modifiedData), { status: 200, headers });

0 commit comments

Comments
 (0)