From 62444525bfe412a732de4df5fc91ce4218c2f039 Mon Sep 17 00:00:00 2001 From: xiang <27800734@qq.com> Date: Sat, 10 May 2025 00:11:07 +0800 Subject: [PATCH] 1 --- Yes.Blog/Areas/Install/Pages/Index.cshtml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Yes.Blog/Areas/Install/Pages/Index.cshtml.cs b/Yes.Blog/Areas/Install/Pages/Index.cshtml.cs index 1c84012..ac962a2 100644 --- a/Yes.Blog/Areas/Install/Pages/Index.cshtml.cs +++ b/Yes.Blog/Areas/Install/Pages/Index.cshtml.cs @@ -6,7 +6,7 @@ namespace Yes.Blog.Areas.Install.Pages { public IActionResult OnGet() { - var defaultTheme = Path.Combine(env.ContentRootPath, "files", "defaulttheme"); + var defaultTheme = Path.Combine(env.ContentRootPath, "files", "themes", "default"); var dir = new DirectoryInfo(defaultTheme); if (!dir.Exists) { @@ -14,7 +14,7 @@ namespace Yes.Blog.Areas.Install.Pages } if (dir.GetFiles().Length == 0) { - var sourcePath = Path.Combine(env.WebRootPath, "themes", "default"); + var sourcePath = Path.Combine(env.WebRootPath, "defaulttheme"); fileService.CopyFolder(sourcePath, defaultTheme); }