File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { notFound } from "next/navigation";
18
18
import { HiShieldCheck } from "react-icons/hi2" ;
19
19
import { MdCheckCircle } from "react-icons/md" ;
20
20
21
- export const revalidate = 3600 ;
21
+ export const revalidate = 60 ;
22
22
23
23
const getExtensionDoc = async ( id : string ) => {
24
24
const db = getDB ( ) ;
@@ -38,7 +38,7 @@ async function getExtensionInformation(
38
38
) : Promise < APIExtension | null > {
39
39
const response = await fetch ( INDEX_URL , {
40
40
next : {
41
- revalidate : 180 ,
41
+ revalidate : 60 ,
42
42
} ,
43
43
} ) ;
44
44
const index = await response . json ( ) ;
@@ -58,7 +58,7 @@ async function getExtensionInformation(
58
58
const readmeContents = extensionInfo . readmeFileURL
59
59
? await fetch ( extensionInfo . readmeFileURL , {
60
60
next : {
61
- revalidate : 180 ,
61
+ revalidate : 60 ,
62
62
} ,
63
63
} ) . then ( ( res ) => res . text ( ) )
64
64
: undefined ;
You can’t perform that action at this time.
0 commit comments