mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-15 22:14:58 +00:00
commands: Remove superflous space
This commit is contained in:
1 parent
df411ec81a
commit
173b544982
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user