From 71d6982f5749ba9bee3dd15402adaea2224f8df0 Mon Sep 17 00:00:00 2001 From: Fankai Liu Date: Sun, 26 Nov 2023 23:37:48 +0800 Subject: [PATCH] refactor code --- src/utils/create_project.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/create_project.rs b/src/utils/create_project.rs index 7a12733..54fda57 100644 --- a/src/utils/create_project.rs +++ b/src/utils/create_project.rs @@ -184,7 +184,7 @@ pub fn write_project_file( create_basic_file(project_path, &handlebars, &data)?; copy_binary_file( include_bytes!("../template/assets/favicon.ico"), - project_path.join("template/assets/favicon.ico"), + project_path.join("assets/favicon.ico"), )?; let mut templates: Vec<(&str, &str)> = vec![]; if is_web_site {