Skip to content

Commit

Permalink
fix(cargo): include-dir path
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Dec 2, 2023
1 parent 8114d0c commit ebbd771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/static-files/include-dir/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Response> {
let file_content = ASSETS
Expand Down

0 comments on commit ebbd771

Please sign in to comment.