Re-enable stat tracker
This commit is contained in:
parent
e2eb659d62
commit
4cb36c4e37
2 changed files with 3 additions and 1 deletions
2
TShockAPI/StatTracker.cs
Normal file → Executable file
2
TShockAPI/StatTracker.cs
Normal file → Executable file
|
|
@ -45,7 +45,7 @@ namespace TShockAPI
|
|||
|
||||
var serialized = Newtonsoft.Json.JsonConvert.SerializeObject(data);
|
||||
var encoded = HttpUtility.UrlEncode(serialized);
|
||||
var uri = String.Format("http://96.47.231.227:8000?data={0}", encoded);
|
||||
var uri = String.Format("http://stats.tshock.co/publish/{0}", encoded);
|
||||
var client = (HttpWebRequest)WebRequest.Create(uri);
|
||||
client.Timeout = 5000;
|
||||
try
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue