Skip to content

Commit

Permalink
#145, IOS Exception Fix, Thanks @mobinseven
Browse files Browse the repository at this point in the history
  • Loading branch information
enkodellc committed Feb 14, 2020
1 parent c139260 commit a9119c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BlazorBoilerplate.CommonUI/App.razor
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

#if ServerSideBlazor
// likely user refreshed page, we need to grab the cookies if they exist and pass it to the HttpClient for this request
if (_http != null && _http.HttpContext.Request.Cookies.Any())
if (_http != null && _http.HttpContext != null && _http.HttpContext.Request.Cookies.Any())
{
var cks = new List<string>();

Expand Down

0 comments on commit a9119c2

Please sign in to comment.