diff options
author | Alan Pearce | 2025-01-20 10:24:23 +0100 |
---|---|---|
committer | Alan Pearce | 2025-01-20 10:24:23 +0100 |
commit | 584d295c25697c19ffd369d22281f7d53a139f18 (patch) | |
tree | bb9ba3f2bd925fad9310cde33ed37faa07dacd61 /internal/config/structs.go | |
parent | 19d8046f99d9f395f8529886f37292d99dc1a4d9 (diff) | |
download | searchix-584d295c25697c19ffd369d22281f7d53a139f18.tar.lz searchix-584d295c25697c19ffd369d22281f7d53a139f18.tar.zst searchix-584d295c25697c19ffd369d22281f7d53a139f18.zip |
feat: allow HTTP request logging to be disabled
Diffstat (limited to 'internal/config/structs.go')
-rw-r--r-- | internal/config/structs.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/config/structs.go b/internal/config/structs.go index e73425b..8c69733 100644 --- a/internal/config/structs.go +++ b/internal/config/structs.go @@ -25,6 +25,7 @@ type Web struct { 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 { |