Fix WriteHeader called with both Transfer-Encoding of "chunked" and a Content-Length
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -180,8 +180,6 @@ func (s *Server) ServeSPA(w http.ResponseWriter, r *http.Request) {
|
||||
w.Header().Set("Cache-Control", "public, max-age=3600")
|
||||
}
|
||||
|
||||
w.Header().Set("Transfer-Encoding", "chunked")
|
||||
|
||||
http.FileServer(s.spaFS).ServeHTTP(w, r)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user