diff --git a/Cargo.lock b/Cargo.lock index 9b2a883..da8c4b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -281,6 +281,7 @@ dependencies = [ "base64", "chrono", "futures", + "mime_guess", "serde", "serde_json", "tokio", diff --git a/Cargo.toml b/Cargo.toml index c8b9679..f158d24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,11 +11,7 @@ chrono = "0.4" futures = "0.3.31" serde = { version = "1.0.228", features = ["derive"] } serde_json = "1.0.148" -tokio = { version = "1.48.0", features = [ - "macros", - "rt-multi-thread", - "signal", - "time", -] } +tokio = { version = "1.48.0", features = ["fs", "macros", "rt-multi-thread", "signal", "time"] } uuid = { version = "1.19.0", features = ["v4"] } base64 = "0.22.1" +mime_guess = "2.0.5" diff --git a/data/html/error.html b/data/html/error.html index fd43fcf..23fde6a 100644 --- a/data/html/error.html +++ b/data/html/error.html @@ -24,17 +24,7 @@ - + {{FOOTER}} diff --git a/data/html/footer.html b/data/html/footer.html new file mode 100644 index 0000000..0e4fada --- /dev/null +++ b/data/html/footer.html @@ -0,0 +1,16 @@ + diff --git a/data/html/index.html b/data/html/index.html index e564e01..ea9ec2a 100644 --- a/data/html/index.html +++ b/data/html/index.html @@ -45,17 +45,7 @@ - + {{FOOTER}} @@ -448,4 +438,4 @@ - \ No newline at end of file + diff --git a/data/html/stats.html b/data/html/stats.html index aa00a9b..62cfce5 100644 --- a/data/html/stats.html +++ b/data/html/stats.html @@ -172,17 +172,7 @@

Loading statistics...

- + {{FOOTER}}