always use https

This commit is contained in:
Tommy Parnell
2016-12-08 14:28:58 -05:00
parent 29560ae97b
commit b3ed9b66e4

View File

@@ -38,7 +38,7 @@ namespace lmltfy.Controllers
throw new HttpException(500, "Error parsing query");
}
MvcApplication.azuredb.Save(new[] { searchModel });
return Url.Action("Search", "Home", new { url = searchModel.Url }, Request.Url.Scheme);
return Url.Action("Search", "Home", new { url = searchModel.Url }, "https");
}