Merge branch 'rolling' into feat-rate-limiter-for-websurfx
This commit is contained in:
commit
86991a2f9a
21 changed files with 571 additions and 329 deletions
|
@ -43,7 +43,7 @@ use handler::paths::{file_path, FileType};
|
|||
pub fn run(listener: TcpListener, config: Config) -> std::io::Result<Server> {
|
||||
let mut handlebars: Handlebars = Handlebars::new();
|
||||
|
||||
let public_folder_path: String = file_path(FileType::Theme)?;
|
||||
let public_folder_path: &str = file_path(FileType::Theme)?;
|
||||
|
||||
handlebars
|
||||
.register_templates_directory(".html", format!("{}/templates", public_folder_path))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue