This commit is contained in:
Ian Gulliver
2026-10-20 22:27:29 -07:00
parent 9c07c83d7e
commit 5a9a8823fe
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ func (s *Server) Handler() http.Handler {
writeError(w, http.StatusBadRequest, err)
},
})
return mux
return http.NewCrossOriginProtection().Handler(mux)
}
func (s *Server) LoopbackHandler() http.Handler {