@@ -33,7 +33,7 @@ internal static bool FetchNetworks()
3333 {
3434 using ( WebClient client = new WebClient ( ) )
3535 {
36- byte [ ] response = client . UploadValues ( $ "http ://api.{ AppData . initalize . Host } /network/", new NameValueCollection
36+ byte [ ] response = client . UploadValues ( $ "https ://api.{ AppData . initalize . Host } /network/", new NameValueCollection
3737 {
3838 { "version" , AppData . settings . networkVersion . ToString ( ) }
3939 } ) ;
@@ -81,7 +81,7 @@ internal static void VerifyToken()
8181 {
8282 using ( WebClient client = new WebClient ( ) )
8383 {
84- byte [ ] response = client . UploadValues ( $ "http ://api.{ AppData . initalize . Host } /verify-account/", new NameValueCollection
84+ byte [ ] response = client . UploadValues ( $ "https ://api.{ AppData . initalize . Host } /verify-account/", new NameValueCollection
8585 {
8686 { "privateToken" , AppData . settings . privateToken }
8787 } ) ;
@@ -117,7 +117,7 @@ internal static bool FetchBlizzardAppOffset(string version)
117117 {
118118 using ( WebClient client = new WebClient ( ) )
119119 {
120- byte [ ] response = client . UploadValues ( $ "http ://api.{ AppData . initalize . Host } /fetch-offset/", new NameValueCollection
120+ byte [ ] response = client . UploadValues ( $ "https ://api.{ AppData . initalize . Host } /fetch-offset/", new NameValueCollection
121121 {
122122 { "version" , version }
123123 } ) ;
@@ -230,7 +230,7 @@ internal static void UploadGame(string gameData)
230230 {
231231 using ( WebClient client = new WebClient ( ) )
232232 {
233- byte [ ] response = client . UploadValues ( $ "http ://api.{ AppData . initalize . Host } /game/upload/", new NameValueCollection {
233+ byte [ ] response = client . UploadValues ( $ "https ://api.{ AppData . initalize . Host } /game/upload/", new NameValueCollection {
234234 { "gameData" , gameData }
235235 } ) ;
236236 ServerOutput . TokensOutput result = JsonConvert . DeserializeObject < ServerOutput . TokensOutput > ( Encoding . UTF8 . GetString ( response ) ) ;
0 commit comments