Removed a case of allow-unsecure-connection
This commit is contained in:
@@ -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:"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user