fix: separate portal and web publish graphs
TaxBaik CI/CD / build-and-deploy (push) Failing after 4m50s

This commit is contained in:
2026-07-04 18:38:10 +09:00
parent 0005b7f583
commit 1534e7dd5b
4 changed files with 18 additions and 4 deletions
@@ -1,6 +1,5 @@
@inherits LayoutComponentBase @inherits LayoutComponentBase
<AdminShell> <div class="portal-shell">
<AdminTelemetryContext />
@Body @Body
</AdminShell> </div>
@@ -0,0 +1,11 @@
@inject NavigationManager Navigation
@code {
protected override void OnAfterRender(bool firstRender)
{
if (!firstRender)
return;
Navigation.NavigateTo("/taxbaik/portal/login", replace: true);
}
}
@@ -11,7 +11,6 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\TaxBaik.Application\TaxBaik.Application.csproj" /> <ProjectReference Include="..\TaxBaik.Application\TaxBaik.Application.csproj" />
<ProjectReference Include="..\TaxBaik.Web.Client\TaxBaik.Web.Client.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
+5
View File
@@ -392,6 +392,11 @@ app.MapHealthChecks("/healthz");
app.MapRazorPages(); // Sitemap.cshtml, Rss.cshtml, Feed.cshtml app.MapRazorPages(); // Sitemap.cshtml, Rss.cshtml, Feed.cshtml
app.MapStaticAssets(); app.MapStaticAssets();
// Blazor WebAssembly Admin Client (WASM 파일 제공 필수)
app.MapRazorComponents<TaxBaik.WasmClient.Components.Admin.App>()
.AddInteractiveWebAssemblyRenderMode()
.AllowAnonymous();
// SPA 라우팅 폴백 (가장 마지막에!) // SPA 라우팅 폴백 (가장 마지막에!)
app.MapFallbackToFile("admin/{*path:nonfile}", "admin/index.html"); app.MapFallbackToFile("admin/{*path:nonfile}", "admin/index.html");