Getting there to fix BitId, one problem down

This commit is contained in:
Falkvinge
2016-11-25 15:49:55 +01:00
parent fb24569e70
commit ad187a5f54
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ namespace System.Web.ExtensionMethods
public static void SetJson (this HttpResponse response)
{
response.ContentType = "application/json";
response.CacheControl = "no-store, no-cache, must-revalidate, post-check=0, pre-check=0"; // IE dumbfixes
response.CacheControl = "no-cache";
response.AddHeader ("Last-Modified", DateTime.UtcNow.ToString (CultureInfo.InvariantCulture));
response.AddHeader ("Pragma", "no-cache");
}
+1 -1
View File
@@ -180,7 +180,7 @@ namespace Swarmops.Pages.Security
string hostName = Request.Url.Host;
string bitIdUri = "bitid://" + hostName + "/Security/Login.aspx?x=" + nonce;
string bitIdUri = "bitid://" + hostName + "/Security/Login.aspx/BitIdLogin?x=" + nonce;
if (Request.Url.ToString().StartsWith ("http://") && !cloudFlareSsl)
{