added log lines and changed config path for deployment

This commit is contained in:
2026-04-18 19:10:18 -06:00
parent 6457991977
commit 5c7bb72307
4 changed files with 10 additions and 2 deletions
+2
View File
@@ -1,6 +1,7 @@
package main
import (
"log"
"net/http"
)
@@ -10,6 +11,7 @@ func (s *Server) handlerRefresh(w http.ResponseWriter, req *http.Request) {
return
}
if err := s.c.Refresh(); err != nil {
log.Printf("refresh failed: %v", err)
http.Error(w, "refresh failed", http.StatusInternalServerError)
return
}