Skip to content

Commit

Permalink
Don't use cache
Browse files Browse the repository at this point in the history
  • Loading branch information
pocke committed Jan 25, 2016
1 parent 8017b4a commit bea7343
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func main() {
go reOpenner(url)

http.Serve(l, hlog.Wrap(func(w http.ResponseWriter, r *http.Request) {
w.Header().Add("Cache-Control", "no-store")
http.ServeFile(w, r, "."+r.URL.Path)
}))
}
Expand Down

0 comments on commit bea7343

Please sign in to comment.