mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-18 04:13:10 -06:00
False is true and true is false
This commit is contained in:
parent
b82ca6555c
commit
392dca78cd
|
|
@ -46,7 +46,7 @@ func MakeAuthAPI(
|
||||||
func MakeExternalAPI(metricsName string, f func(*http.Request) util.JSONResponse) http.Handler {
|
func MakeExternalAPI(metricsName string, f func(*http.Request) util.JSONResponse) http.Handler {
|
||||||
// TODO: We shouldn't be directly reading env vars here, inject it in instead.
|
// TODO: We shouldn't be directly reading env vars here, inject it in instead.
|
||||||
// Refactor this when we split out config structs.
|
// Refactor this when we split out config structs.
|
||||||
verbose := true
|
verbose := false
|
||||||
if os.Getenv("DENDRITE_TRACE_HTTP") == "1" {
|
if os.Getenv("DENDRITE_TRACE_HTTP") == "1" {
|
||||||
verbose = true
|
verbose = true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue