This commit is contained in:
sijinhui 2024-04-17 16:33:45 +08:00
parent bb4a281407
commit f9ff55ccdc

View File

@ -107,7 +107,7 @@ const ForceCacheHeaders = [
{ key: "Cache-Control", value: "max-age=2592000, s-maxage=86400"} { key: "Cache-Control", value: "max-age=2592000, s-maxage=86400"}
] ]
const NoCacheHeaders = [ const NoCacheHeaders = [
{ key: "Cache-Control", value: "no-cache"} { key: "Cache-Control", value: "no-cache, no-store, must-revalidate, max-age=0" }
] ]
nextConfig.headers = async () => { nextConfig.headers = async () => {