diff --git a/serv_nginx/serv_golang_rest_api/internal/server/server.go b/serv_nginx/serv_golang_rest_api/internal/server/server.go index c5bc8f3..58a71df 100644 --- a/serv_nginx/serv_golang_rest_api/internal/server/server.go +++ b/serv_nginx/serv_golang_rest_api/internal/server/server.go @@ -8,6 +8,7 @@ import ( "serv_golang_rest_api/internal/middleware" "serv_golang_rest_api/internal/repository" "serv_golang_rest_api/internal/service" + "time" "github.com/go-chi/chi/v5" "gorm.io/gorm" @@ -102,7 +103,7 @@ func (s *Server) healthCheck(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "application/json") json.NewEncoder(w).Encode(map[string]string{ "status": "healthy", - "timestamp": http.TimeFormat, + "timestamp": time.Now().UTC().Format(time.RFC1123), }) } diff --git a/yalarba/serv_spa/docker-compose.yml b/yalarba/serv_spa/docker-compose.yml deleted file mode 100644 index 6f38a98..0000000 --- a/yalarba/serv_spa/docker-compose.yml +++ /dev/null @@ -1,8 +0,0 @@ -services: - spa: - container_name: spa - build: - context: ./spa - dockerfile: Dockerfile - env_file: - - .env