* Fixing URI path issues in template

This commit is contained in:
shockrah
2021-10-10 14:00:53 -07:00
parent 3905f0f3d3
commit e779d88d63
2 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ pub async fn home() -> Template {
// WARN: this is just to get the templates to behave but we're still
// doing everything the browser for the home page
let mut h: HashMap<&'static str, &'static str> = HashMap::new();
h.insert("script_src", "/js/index.js");
h.insert("script_src", "index.js");
h.insert("page", "home");
return Template::render("list", &h);