From ebbd771478dfa8ec9735c11673858e57b2ba6d8a Mon Sep 17 00:00:00 2001 From: Fangdun Tsai Date: Sat, 2 Dec 2023 09:42:08 +0800 Subject: [PATCH] fix(cargo): include-dir path --- examples/static-files/include-dir/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/static-files/include-dir/src/main.rs b/examples/static-files/include-dir/src/main.rs index fd9947c0..64218e76 100644 --- a/examples/static-files/include-dir/src/main.rs +++ b/examples/static-files/include-dir/src/main.rs @@ -10,7 +10,7 @@ use viz::{ Tree, }; -const ASSETS: Dir = include_dir!("examples/static-files/static-embed/html"); // frontend dir +const ASSETS: Dir = include_dir!("examples/static-files/include-dir/html"); // frontend dir pub async fn index(_: Request) -> Result { let file_content = ASSETS