Skip to content

Commit 43a757c

Browse files
authored
Update modules/httpcache/httpcache.go
1 parent 5053319 commit 43a757c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/httpcache/httpcache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func AddCacheControlToHeader(h http.Header, d time.Duration) {
2525
// to remind users they are using non-prod setting.
2626
// some users may be confused by "Cache-Control: no-store" in their setup if they did wrong to `RUN_MODE` in `app.ini`.
2727
h.Add("X-Gitea-Debug", "RUN_MODE="+setting.RunMode)
28-
h.Add("X-Gitea-Debug", "CacheControl=not-prod")
28+
h.Add("X-Gitea-Debug", "CacheControl=no-store")
2929
}
3030
}
3131

0 commit comments

Comments
 (0)