all repos — searchix @ 584d295c25697c19ffd369d22281f7d53a139f18

Search engine for NixOS, nix-darwin, home-manager and NUR users

feat: allow HTTP request logging to be disabled

Alan Pearce
commit

584d295c25697c19ffd369d22281f7d53a139f18

parent

19d8046f99d9f395f8529886f37292d99dc1a4d9

1 file changed, 1 insertion(+), 0 deletions(-)

changed files
M internal/config/structs.gointernal/config/structs.go
@@ -25,6 +25,7 @@ SentryDSN string `comment:"If set, will send server errors to Sentry"`
Environment string `comment:"Affects logging parameters. One of 'development' or 'production'"` ExtraHeadHTML string `comment:"Content to add to HTML <head>. Can be used to override styling, add scripts, etc."` Headers map[string]string `comment:"Extra headers to send with HTTP requests"` + LogRequests bool `comment:"Whether to log incoming HTTP requests"` } type Importer struct {