Chore: remove CSP debug logging line (#30689)
This commit is contained in:
@@ -18,7 +18,6 @@ import (
|
|||||||
func AddCSPHeader(cfg *setting.Cfg, logger log.Logger) macaron.Handler {
|
func AddCSPHeader(cfg *setting.Cfg, logger log.Logger) macaron.Handler {
|
||||||
return func(w http.ResponseWriter, req *http.Request, c *macaron.Context) {
|
return func(w http.ResponseWriter, req *http.Request, c *macaron.Context) {
|
||||||
if !cfg.CSPEnabled {
|
if !cfg.CSPEnabled {
|
||||||
logger.Debug("Not adding CSP header to response since it's disabled")
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user