Serve static files if no other endpoints match

This commit is contained in:
Joscha 2023-08-03 17:36:27 +02:00
parent c4f1cd2201
commit 6cf1b662ae
4 changed files with 195 additions and 1 deletions

View file

@ -6,4 +6,6 @@ edition = "2021"
[dependencies]
anyhow = "1.0.72"
axum = { version = "0.6.19", features = ["macros"] }
mime_guess = "2.0.4"
rust-embed = "6.8.1"
tokio = { version = "1.29.1", features = ["full"] }