summaryrefslogtreecommitdiff
path: root/src/public/mod.rs
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2023-02-03 15:03:16 -0500
committerTyler Murphy <tylermurphy534@gmail.com>2023-02-03 15:03:16 -0500
commitd85dd163e34ebdf963e1299b4ad3387ea713797f (patch)
tree9f8dfedb0f48902b4fa5a2be7d57145ecf816333 /src/public/mod.rs
parentfavicon fix / readme (diff)
downloadxssbook-d85dd163e34ebdf963e1299b4ad3387ea713797f.tar.gz
xssbook-d85dd163e34ebdf963e1299b4ad3387ea713797f.tar.bz2
xssbook-d85dd163e34ebdf963e1299b4ad3387ea713797f.zip
docs is ssr'd
Diffstat (limited to '')
-rw-r--r--src/public/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/public/mod.rs b/src/public/mod.rs
index ebd5fc5..82c994d 100644
--- a/src/public/mod.rs
+++ b/src/public/mod.rs
@@ -18,6 +18,7 @@ use crate::types::http::ResponseCode;
pub mod admin;
pub mod console;
+pub mod docs;
pub mod file;
pub mod pages;
@@ -33,7 +34,7 @@ pub fn router() -> Router {
Router::new()
.nest("/", pages::router())
- .route("/favicon.ico",get(file::favicon))
+ .route("/favicon.ico", get(file::favicon))
.route("/js/*path", get(file::js))
.route("/css/*path", get(file::css))
.route("/fonts/*path", get(file::fonts))