fix: separate portal and web publish graphs
TaxBaik CI/CD / build-and-deploy (push) Failing after 4m50s
TaxBaik CI/CD / build-and-deploy (push) Failing after 4m50s
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
@inherits LayoutComponentBase
|
||||
|
||||
<AdminShell>
|
||||
<AdminTelemetryContext />
|
||||
<div class="portal-shell">
|
||||
@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>
|
||||
<ProjectReference Include="..\TaxBaik.Application\TaxBaik.Application.csproj" />
|
||||
<ProjectReference Include="..\TaxBaik.Web.Client\TaxBaik.Web.Client.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -392,6 +392,11 @@ app.MapHealthChecks("/healthz");
|
||||
app.MapRazorPages(); // Sitemap.cshtml, Rss.cshtml, Feed.cshtml
|
||||
app.MapStaticAssets();
|
||||
|
||||
// Blazor WebAssembly Admin Client (WASM 파일 제공 필수)
|
||||
app.MapRazorComponents<TaxBaik.WasmClient.Components.Admin.App>()
|
||||
.AddInteractiveWebAssemblyRenderMode()
|
||||
.AllowAnonymous();
|
||||
|
||||
// SPA 라우팅 폴백 (가장 마지막에!)
|
||||
app.MapFallbackToFile("admin/{*path:nonfile}", "admin/index.html");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user