Added Sandbox to whitelist of HTTP

This commit is contained in:
Rick Falkvinge
2017-01-14 04:33:24 +01:00
parent 44d557d6c7
commit ce78f87cb1
+1 -1
View File
@@ -96,7 +96,7 @@ namespace Swarmops.Frontend
// only check client-side as many server sites de-SSL the connection before reaching the web server
{
if (!Request.Url.ToString().StartsWith ("http://dev.swarmops.com/") &&
!Request.Url.ToString().StartsWith("http://sandbox.swarmops.com") &&
!Request.Url.ToString().StartsWith("http://sandbox.swarmops.com/") &&
!Request.Url.ToString().StartsWith("http://localhost:"))
{
if (SystemSettings.RequireSsl)