mirror of
https://github.com/4cuck/nitter-status.git
synced 2026-10-26 00:52:25 +00:00
redirect /rip for old nitter instance redirects
This commit is contained in:
1 parent
3201045122
commit
289b36f972
1 file changed
+2
-1
+2
-1
@@ -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")),
|
||||
|
||||
Reference in new issue
Block a user