diff options
author | Tyler Murphy <tylermurphy534@gmail.com> | 2023-02-03 15:03:16 -0500 |
---|---|---|
committer | Tyler Murphy <tylermurphy534@gmail.com> | 2023-02-03 15:03:16 -0500 |
commit | d85dd163e34ebdf963e1299b4ad3387ea713797f (patch) | |
tree | 9f8dfedb0f48902b4fa5a2be7d57145ecf816333 /src/public/mod.rs | |
parent | favicon fix / readme (diff) | |
download | xssbook-d85dd163e34ebdf963e1299b4ad3387ea713797f.tar.gz xssbook-d85dd163e34ebdf963e1299b4ad3387ea713797f.tar.bz2 xssbook-d85dd163e34ebdf963e1299b4ad3387ea713797f.zip |
docs is ssr'd
Diffstat (limited to '')
-rw-r--r-- | src/public/mod.rs | 3 |
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)) |