feat: initiate new home page

This commit is contained in:
swve 2023-05-07 16:05:18 +02:00
parent 7d6ba9ff2a
commit e86fca650e
9 changed files with 99 additions and 19 deletions

View file

@ -8,6 +8,10 @@ export const RequestBody = (method: string, data: any) => {
headers: HeadersConfig,
redirect: "follow",
credentials: "include",
// Next.js
next: {
revalidate: 1,
},
};
if (data) {
options.body = JSON.stringify(data);