pdinklag / MinecraftStats

A Minecraft player statistics browser for the web - supports 1.13 and later!
https://discord.gg/brH5PGG8By
Other
228 stars 54 forks source link

Using getJson instead of ajax call #29

Closed AzariasB closed 5 years ago

AzariasB commented 5 years ago

By using getJSON function, this will pass an object to the success function instead of passing in a simple string (that can then rise an error)

pdinklag commented 5 years ago

OK, thanks! I never really tested that bit of code to be honest, because I'm going with a compressed database on my server.

AzariasB commented 5 years ago

Thank you :smile: