Commit bc857986 by Ryan McKinley Committed by GitHub

Chore: remove CSP debug logging line (#30689)

parent 0df4b159
......@@ -18,7 +18,6 @@ import (
func AddCSPHeader(cfg *setting.Cfg, logger log.Logger) macaron.Handler {
return func(w http.ResponseWriter, req *http.Request, c *macaron.Context) {
if !cfg.CSPEnabled {
logger.Debug("Not adding CSP header to response since it's disabled")
return
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment