Remove deprecated http header fields
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -134,8 +134,6 @@ func (s *Server) ServeSPA(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
w.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate")
|
||||
w.Header().Set("Pragma", "no-cache")
|
||||
w.Header().Set("Expires", "0")
|
||||
|
||||
w.WriteHeader(http.StatusOK)
|
||||
w.Write(s.indexContent)
|
||||
|
||||
Reference in New Issue
Block a user