Adding package file to theme and using scss instead of css.

This commit is contained in:
calcu1on
2025-04-21 08:13:05 -04:00
parent 3bd38b2d80
commit 967de436f6
7 changed files with 139 additions and 13 deletions

View File

@@ -95,3 +95,7 @@ fn return_response(path_or_code: &str) -> String {
let length = contents.len();
format!("{status_line}\r\nContent-Length: {length}\r\n\r\n{contents}")
}
pub fn path_exists(path: &str) -> bool {
fs::metadata(path).is_ok()
}