fix funtion

This commit is contained in:
Joerg Lehmann 2025-08-07 13:37:58 +02:00
parent 025441ef7d
commit 2168404670
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import (
"time"
)
func getConfigFromEnv(string item) {
func getConfigFromEnv(item string) {
var res = ""
value := os.Getenv("CONFIG_ENVVAR")
if value == "" {
@ -28,6 +28,7 @@ func getConfigFromEnv(string item) {
} else {
res = "NOTFOUND"
}
return res
}
func serveTemplate(w http.ResponseWriter, r *http.Request) {