+ admin::populate_video_list now populates t he video list

The ul here is meant to serve as a quick
way to check what videos are being served
as well as removing videos

+ category::VideoMeta::as_li built for admin video list
This is basically how we spit this out onto
the DOM
This commit is contained in:
2022-03-27 00:00:50 -07:00
parent d1e2d80eae
commit 4416d08994
3 changed files with 60 additions and 7 deletions

View File

@@ -56,6 +56,8 @@ pub fn get_category_thumbnail(category: &str) -> std::io::Result<String> {
})
}
/// Returns a List of categories
/// Primarily used on the main page
/// WARN: misconfigured servers are just going to get shafted and serve up
/// a tonne of 500's
#[get("/categories")]