We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
./x/x
1 parent 3a87868 commit 3c23a44Copy full SHA for 3c23a44
src/common.rs
@@ -3,9 +3,9 @@ use std::fs::DirEntry;
3
use std::io;
4
use std::path::Path;
5
6
-pub const PAGE_TEMPLATE: &str = include_str!("static/template.html");
7
-pub const FILE_ICON: &str = include_str!("static/file.svg");
8
-pub const DIR_ICON: &str = include_str!("static/folder.svg");
+pub const PAGE_TEMPLATE: &str = include_str!("./static/template.html");
+pub const FILE_ICON: &str = include_str!("./static/file.svg");
+pub const DIR_ICON: &str = include_str!("./static/folder.svg");
9
10
pub fn build_not_found_page() -> String {
11
PAGE_TEMPLATE.replace("{title}", "Error Response").replace(
0 commit comments