summaryrefslogtreecommitdiffhomepage
path: root/website/cmd/server/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'website/cmd/server/main.go')
-rw-r--r--website/cmd/server/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/website/cmd/server/main.go b/website/cmd/server/main.go
index 9f0092ed6..707a3a8f8 100644
--- a/website/cmd/server/main.go
+++ b/website/cmd/server/main.go
@@ -366,7 +366,7 @@ func registerProfile(mux *http.ServeMux) {
}
func envFlagString(name, def string) string {
- if val := os.Getenv(name); val != "" {
+ if val, ok := os.LookupEnv(name); ok {
return val
}
return def