This commit is contained in:
parent
9dae1ca401
commit
e6232185e3
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Reference in a new issue