* Fixing URI path issues in template
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user