diff --git a/api.go b/api.go index 06e1fbc..6121921 100644 --- a/api.go +++ b/api.go @@ -8,7 +8,7 @@ import ( ) // global const -const _version = "v0.1.16" +const _version = "v0.1.18" // global var var ( diff --git a/example-env-config.sh b/example-env-config.sh index c49efc2..de0b474 100644 --- a/example-env-config.sh +++ b/example-env-config.sh @@ -13,6 +13,8 @@ export OPN_DEBUG='true' export OPN_SYNC_PKG='true' export OPN_HTTPD_ENABLE='true' export OPN_HTTPD_SERVER='127.0.0.1:6464' +export OPN_HTTPD_COLOR_FG='white' +export OPN_HTTPD_COLOR_BG='#17202A' export OPN_RSYSLOG_ENABLE='true' export OPN_RSYSLOG_SERVER='192.168.122.1:5140' export OPN_GRAFANA_WEBUI='http://localhost:9090' diff --git a/setup.go b/setup.go index 903f59d..1b1f2b1 100644 --- a/setup.go +++ b/setup.go @@ -79,8 +79,8 @@ func Setup() (*OPNCall, error) { config.Httpd.CAcert = os.Getenv("OPN_HTTPD_CACERT") config.Httpd.CAkey = os.Getenv("OPN_HTTPD_CAKEY") config.Httpd.CAClient = os.Getenv("OPN_HTTPD_CACLIENT") - config.Httpd.Color.FG = "black" - config.Httpd.Color.BG = "orange" + config.Httpd.Color.FG = "white" + config.Httpd.Color.BG = "grey" if _, ok := os.LookupEnv("OPN_HTTPD_COLOR_FG"); ok { config.Httpd.Color.FG = os.Getenv("OPN_HTTPD_COLOR_FG") }