diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/main.rs b/src/main.rs index e91476b..3130411 100644 --- a/src/main.rs +++ b/src/main.rs @@ -65,22 +65,8 @@ async fn main() -> Result<(), std::io::Error> { .unwrap_or_else(|| "0.0.0.0:8080".to_string()); if backend_uri.starts_with("redis") { - #[cfg(redis)] - { - let app = kittybox::get_app_with_redis( - token_endpoint, - authorization_endpoint, - backend_uri, - media_endpoint, - internal_token, - ).await; - app.listen(host).await - } - #[cfg(not(redis))] - { - println!("The Redis backend was disabled at build-time. Please recompile the package with --features=redis."); - std::process::exit(1); - } + println!("The Redis backend is deprecated."); + std::process::exit(1); } else if backend_uri.starts_with("file") { let app = kittybox::get_app_with_file( token_endpoint, |