fix: remove unsupported razor components registration
TaxBaik CI/CD / build-and-deploy (push) Successful in 4m15s
TaxBaik CI/CD / build-and-deploy (push) Successful in 4m15s
This commit is contained in:
@@ -392,12 +392,6 @@ 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
|
|
||||||
app.MapRazorComponents<TaxBaik.WasmClient.Components.Admin.App>()
|
|
||||||
.AddInteractiveWebAssemblyRenderMode()
|
|
||||||
.AddAdditionalAssemblies(typeof(TaxBaik.WasmClient._Imports).Assembly)
|
|
||||||
.AllowAnonymous();
|
|
||||||
|
|
||||||
// SPA 라우팅 폴백 (가장 마지막에!)
|
// SPA 라우팅 폴백 (가장 마지막에!)
|
||||||
app.MapFallbackToFile("admin/{*path:nonfile}", "admin/index.html");
|
app.MapFallbackToFile("admin/{*path:nonfile}", "admin/index.html");
|
||||||
app.MapFallbackToFile("portal/{*path:nonfile}", "portal/index.html");
|
app.MapFallbackToFile("portal/{*path:nonfile}", "portal/index.html");
|
||||||
|
|||||||
Reference in New Issue
Block a user