Adding some debug code to find cause of infinite loop

This commit is contained in:
Rick Falkvinge
2014-09-08 18:46:12 +00:00
parent a21a87c1b3
commit 999750689d
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ namespace Swarmops.Site.Automation
/// <remarks/>
public GetGeographyData()
{
this.Url = "http://v5.pirateweb.net/Automation/GetGeographyData.asmx";
this.Url = "http://live.swarmops.com/Automation/GetGeographyData.asmx";
}
/// <remarks/>
+2 -1
View File
@@ -32,13 +32,14 @@ namespace Swarmops.Pages.Security
// Check for SSL
/* DISABLE temporarily
if ((!Request.IsSecureConnection) && Request.Url.ToString().StartsWith("http://")) // Both are necessary, as some reverse proxies will https-ify an original nonsecure connection
{
if (!Request.Url.ToString().StartsWith("http://dev.swarmops.com/") && !Request.Url.ToString().StartsWith("http://localhost:") && !Request.Url.ToString().StartsWith("http://swarmops-"))
{
Response.Redirect(Request.Url.ToString().Replace("http:", "https:"));
}
}
} */
}
protected void ButtonLogin_Click(object sender, EventArgs e)