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/main.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 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 8a8e9d8..ace9968 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,6 +15,8 @@ use tracing_subscriber::{ }; use types::extract::RequestIp; +use crate::public::docs; + mod api; mod database; mod public; @@ -55,6 +57,8 @@ async fn main() { exit(1) }; + docs::init().await; + fs::create_dir_all("./public/image/custom").expect("Coudn't make custom data directory"); fs::create_dir_all("./public/image/custom/avatar") .expect("Coudn't make custom avatar directory"); |