Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
  • Loading branch information
mooxl committed May 19, 2023
1 parent a3e58fe commit b1c2315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astro/src/utils/payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ export const getPosts = async () =>
export const getPost = async (id: string) =>
(await (await fetch(`${url}/api/posts/${id}`)).json()) as Post;

export const getImageSrc = (src: string) => `${url}/media/${src}}`;
export const getImageSrc = (src: string) => `${url}/media/${src}`;

0 comments on commit b1c2315

Please sign in to comment.