diff --git a/server/src/lib.rs b/server/src/lib.rs index 0495563..5674006 100644 --- a/server/src/lib.rs +++ b/server/src/lib.rs @@ -158,7 +158,8 @@ pub async fn start( .layer(session_service) ) .route("/about", get(website::about)) - // .route("/rip", get(website::rip)) + // keep redirect for old nitter instances redirecting to it + .route("/rip", get(|| async { Redirect::temporary("/") })) .route( "/robots.txt", get_service(ServeFile::new("server/static/robots.txt")),