fix event admin
This commit is contained in:
9
src/app/zz-makuro/get-data-example.ts
Normal file
9
src/app/zz-makuro/get-data-example.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
async function getDataExample() {
|
||||
const res = await fetch("https://jsonplaceholder.typicode.com/posts", {
|
||||
next: {
|
||||
revalidate: 60,
|
||||
},
|
||||
});
|
||||
|
||||
return res.json();
|
||||
}
|
||||
Reference in New Issue
Block a user