diff --git a/src/DrawTogether/Components/App.razor b/src/DrawTogether/Components/App.razor index e4eee58..c31e25b 100644 --- a/src/DrawTogether/Components/App.razor +++ b/src/DrawTogether/Components/App.razor @@ -13,8 +13,15 @@ - + - \ No newline at end of file + + +@code { + [CascadingParameter] + private HttpContext HttpContext { get; set; } = default!; + + private IComponentRenderMode? RenderModeForPage => HttpContext.Request.Path.StartsWithSegments("/Account") ? null : InteractiveServer; +} \ No newline at end of file