fix wrong log file name in linux, comments of enviroment vars
All checks were successful
Build Slideshow App / build (amd64, .exe, windows) (push) Successful in 2m7s
Build Slideshow App / build (amd64, , linux) (push) Successful in 2m18s
Build Slideshow App / build (arm, 7, , linux) (push) Successful in 2m3s
Build Slideshow App / build (arm64, , linux) (push) Successful in 2m4s

This commit is contained in:
Adrian Zürcher
2026-01-18 21:46:17 +01:00
parent 3241429e98
commit d82f213ca7
5 changed files with 11 additions and 9 deletions

View File

@@ -18,6 +18,8 @@ var staticFolder = "./web/static/"
func main() {
env.Load(".env")
logConfig := logging.DefaultConfig()
logConfig.Debug = env.Env.GetValue() == "debug"
@@ -26,9 +28,6 @@ func main() {
log.Fatal(err)
}
logger.Debug("main", "load enviroment variable")
env.Load(".env")
r := mux.NewRouter()
uploadFolder := env.PhotoDir.GetValue()