mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 13:34:40 -04:00
commands: Remove superflous space
This commit is contained in:
parent
df411ec81a
commit
173b544982
@ -210,7 +210,7 @@ func (c *commandeer) serve(port int) {
|
|||||||
decorate := func(h http.Handler) http.Handler {
|
decorate := func(h http.Handler) http.Handler {
|
||||||
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||||
if noHTTPCache {
|
if noHTTPCache {
|
||||||
w.Header().Set("Cache-Control", " no-store, no-cache, must-revalidate, max-age=0")
|
w.Header().Set("Cache-Control", "no-store, no-cache, must-revalidate, max-age=0")
|
||||||
w.Header().Set("Pragma", "no-cache")
|
w.Header().Set("Pragma", "no-cache")
|
||||||
}
|
}
|
||||||
h.ServeHTTP(w, r)
|
h.ServeHTTP(w, r)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user