This commit is contained in:
@@ -392,9 +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();
|
||||||
|
|
||||||
// 루트 경로 기본값
|
|
||||||
app.MapGet("/", () => Results.Redirect("/taxbaik/"));
|
|
||||||
|
|
||||||
// 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