Fixed routing of platinum gamestats requests.

This commit is contained in:
Greg Edwards
2015-02-06 21:17:53 -05:00
parent 79e2b923f1
commit 8d02425230
2 changed files with 2 additions and 1 deletions

View File

@@ -85,7 +85,7 @@ namespace PkmnFoundations.GTS
if (split.Length > 2 && split[1] == "pokemondpds" && split[2] == "web")
{
pathInfo = "/" + String.Join("/", split, 3, split.Length - 3);
return VirtualPathUtility.ToAbsolute("~/pokemonplatds.ashx");
return VirtualPathUtility.ToAbsolute("~/pokemondpds_web.ashx");
}
else if (split.Length > 1 && split[1] == "pokemondpds")
{

View File

@@ -113,6 +113,7 @@ namespace PkmnFoundations.GTS.debug
private String RenderHex(String hex)
{
// todo: this should be moved to a user control
StringBuilder builder = new StringBuilder();
for (int x = 0; x < hex.Length; x += 16)
{