From e6232185e3d8613f29e77033cae4859c6916babc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20B=C3=B6hm?= Date: Wed, 22 Sep 2021 14:14:19 +0200 Subject: [PATCH] fixed temp vars --- cmd/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index d5009ab..7c9f7de 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -22,7 +22,7 @@ type Server struct { } func main() { - dsn := "postgres://postgres:secret@u0k.de:5432/postgres?sslmode=disable" + dsn := "postgres://postgres:secret@postgres:5432/postgres?sslmode=disable" store, err := postgres.NewStore(dsn) if err != nil { @@ -48,7 +48,7 @@ func main() { } func updateServers(serverString string, store steamServer.Store) { - url := "http://localhost:8090/server/" + serverString + url := "http://steam-server-api:8080/server/" + serverString reqClient := http.Client { Timeout: time.Second * 10,