Skip to content

Commit

Permalink
undo SSR disable
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxocube committed Jan 4, 2025
1 parent 44c5950 commit 83b49be
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
@using Microsoft.AspNetCore.WebUtilities
@attribute [IgnoreAntiforgeryToken]
@attribute [AllowAnonymous]
@rendermode @(new InteractiveServerRenderMode(prerender: true))

@inject SignInManager<AuthUser> SignInManager
@inject UserManager<AuthUser> UserManager
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@page "/Account/Login"
@attribute [AllowAnonymous]
@rendermode InteractiveServer

<PageTitle>Log in</PageTitle>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
@inject IdentityUserAccessor UserAccessor
@inject IUserStore<AuthUser> UserStore
@inject IdentityRedirectManager RedirectManager
@rendermode @(new InteractiveServerRenderMode(prerender: true))

<PageTitle>Manage your external logins</PageTitle>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
@using Microsoft.AspNetCore.Identity
@inject SignInManager<AuthUser> SignInManager
@inject IdentityRedirectManager RedirectManager
@rendermode @(new InteractiveServerRenderMode(prerender: true))

<form class="form-horizontal" action="Account/PerformExternalLogin" method="post">
<div>
Expand Down
2 changes: 1 addition & 1 deletion MediaFeeder/MediaFeeder/Components/App.razor
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</head>

<body>
<Routes @rendermode="new InteractiveServerRenderMode(false)"/>
<Routes @rendermode="InteractiveServer"/>
<script src="_framework/blazor.web.js"></script>
@* <script src="_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.lib.module.js" type="module" async></script> *@
</body>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
@inject IJSRuntime JsRuntime
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.JSInterop
@implements IAsyncDisposable
@inherits VideoFrame
@rendermode @(new InteractiveWebAssemblyRenderMode())

<div id="ytplayer" style="width: 100%; height: 80vh;"></div>

0 comments on commit 83b49be

Please sign in to comment.