Removed a case of allow-unsecure-connection

This commit is contained in:
Rick Falkvinge
2015-04-10 00:17:50 +02:00
parent 9e0bdcd7b1
commit 13e554edf7
+1 -2
View File
@@ -96,8 +96,7 @@ namespace Swarmops
{
if (!Request.Url.ToString().StartsWith ("http://dev.swarmops.com/") &&
!Request.Url.ToString().StartsWith("http://dev-opentest.swarmops.com") &&
!Request.Url.ToString().StartsWith("http://localhost:") &&
!Request.Url.ToString().StartsWith ("http://swarmops-"))
!Request.Url.ToString().StartsWith("http://localhost:"))
{
Response.Redirect (Request.Url.ToString().Replace ("http:", "https:"));
}