diff options
Diffstat (limited to 'src/api/web.rs')
-rw-r--r-- | src/api/web.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/api/web.rs b/src/api/web.rs index 889aaa30..4b0e292b 100644 --- a/src/api/web.rs +++ b/src/api/web.rs @@ -81,6 +81,9 @@ fn static_files(filename: String) -> Result<Content<&'static [u8]>, Error> { "bootstrap-native.js" => Ok(Content(ContentType::JavaScript, include_bytes!("../static/scripts/bootstrap-native.js"))), "md5.js" => Ok(Content(ContentType::JavaScript, include_bytes!("../static/scripts/md5.js"))), "identicon.js" => Ok(Content(ContentType::JavaScript, include_bytes!("../static/scripts/identicon.js"))), + "datatables.js" => Ok(Content(ContentType::JavaScript, include_bytes!("../static/scripts/datatables.js"))), + "datatables.css" => Ok(Content(ContentType::CSS, include_bytes!("../static/scripts/datatables.css"))), + "jquery-3.5.1.slim.js" => Ok(Content(ContentType::JavaScript, include_bytes!("../static/scripts/jquery-3.5.1.slim.js"))), _ => err!(format!("Static file not found: {}", filename)), } } |