asdf
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
parent
a3e58fecd6
commit
b1c2315eca
@ -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}`;
|
||||
|
Loading…
Reference in New Issue
Block a user