summaryrefslogtreecommitdiff
path: root/src/public/mod.rs
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2023-02-03 11:42:32 -0500
committerTyler Murphy <tylermurphy534@gmail.com>2023-02-03 11:42:32 -0500
commit429da306ee70a21169220dd365bf77886dc86dcb (patch)
treeed9912c5dab9bf10091d7adef10c15961b5d5aef /src/public/mod.rs
parentapi docs (diff)
downloadxssbook-429da306ee70a21169220dd365bf77886dc86dcb.tar.gz
xssbook-429da306ee70a21169220dd365bf77886dc86dcb.tar.bz2
xssbook-429da306ee70a21169220dd365bf77886dc86dcb.zip
favicon fix / readme
Diffstat (limited to '')
-rw-r--r--src/public/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/public/mod.rs b/src/public/mod.rs
index eb846fb..ebd5fc5 100644
--- a/src/public/mod.rs
+++ b/src/public/mod.rs
@@ -33,6 +33,7 @@ pub fn router() -> Router {
Router::new()
.nest("/", pages::router())
+ .route("/favicon.ico",get(file::favicon))
.route("/js/*path", get(file::js))
.route("/css/*path", get(file::css))
.route("/fonts/*path", get(file::fonts))