fixes for buiding remote gaming server

This commit is contained in:
2023-03-01 17:15:41 +00:00
parent 6f9d3dd345
commit c88b4343ce
6 changed files with 16 additions and 3 deletions

View File

@@ -200,6 +200,10 @@ func CheckIfGameSessionIsActiveOrRemove(gorm *gorm.DB) {
return
}
if len(Gamesessions) != 0 {
fmt.Println(Gamesessions[0].Link)
}
http.DefaultTransport.(*http.Transport).TLSClientConfig = &tls.Config{InsecureSkipVerify: true}
for i, _ := range Gamesessions {
req, err := http.NewRequest("GET", Gamesessions[i].Link, nil)