mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: initiate new home page
This commit is contained in:
parent
7d6ba9ff2a
commit
e86fca650e
9 changed files with 99 additions and 19 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue