diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index 1b333a2..23b5ddb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -use kittybox_micropub as micropub; +use kittybox; use log::{debug, error, info}; use std::env; use surf::Url; @@ -9,7 +9,7 @@ async fn main() -> Result<(), std::io::Error> { let logger_env = env_logger::Env::new().filter_or("RUST_LOG", "info"); env_logger::init_from_env(logger_env); - info!("Starting the Micropub server..."); + info!("Starting the kittybox server..."); let redis_uri: String; match env::var("REDIS_URI") { @@ -62,7 +62,7 @@ async fn main() -> Result<(), std::io::Error> { let host = env::var("SERVE_AT") .ok() .unwrap_or_else(|| "0.0.0.0:8080".to_string()); - let app = micropub::get_app_with_redis( + let app = kittybox::get_app_with_redis( token_endpoint, authorization_endpoint, redis_uri, |