mirror of
https://github.com/DerTyp7/explainegy-nextjs.git
synced 2025-10-29 12:52:13 +01:00
asd
This commit is contained in:
@@ -14,7 +14,7 @@ type ArticleWithIncludes = Prisma.ArticleGetPayload<{
|
||||
}>;
|
||||
|
||||
export async function GetArticle(articleName: string): Promise<any> {
|
||||
const result: Response = await fetch(urlJoin(apiUrl, `articles/${articleName ?? ""}`), {
|
||||
const result: Response = await fetch(urlJoin(apiUrl, `articles/name/${articleName ?? ""}`), {
|
||||
cache: "force-cache",
|
||||
next: { revalidate: 60 * 10 },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user