From 102fa43fd14b141439a3ca337caa7338812d64b5 Mon Sep 17 00:00:00 2001 From: sychic <47618543+Sychic@users.noreply.github.com> Date: Tue, 2 Jun 2026 10:19:49 -0400 Subject: [PATCH] refactor: remove archon redirect --- apps/labrinth/src/models/v3/notifications.rs | 4 ++-- apps/labrinth/src/routes/mod.rs | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/apps/labrinth/src/models/v3/notifications.rs b/apps/labrinth/src/models/v3/notifications.rs index 70823bf30f..5c9393db95 100644 --- a/apps/labrinth/src/models/v3/notifications.rs +++ b/apps/labrinth/src/models/v3/notifications.rs @@ -447,14 +447,14 @@ impl From for Notification { name: "Accept".to_string(), action_route: ( "POST".to_string(), - format!("hosting/servers/{server_id}/invite/accept"), + format!(""), ), }, NotificationAction { name: "Deny".to_string(), action_route: ( "POST".to_string(), - format!("hosting/servers/{server_id}/invite/deny"), + format!(""), ), }, ], diff --git a/apps/labrinth/src/routes/mod.rs b/apps/labrinth/src/routes/mod.rs index 2a653aeb56..178a8a706b 100644 --- a/apps/labrinth/src/routes/mod.rs +++ b/apps/labrinth/src/routes/mod.rs @@ -34,11 +34,6 @@ pub fn root_config(cfg: &mut web::ServiceConfig) { .wrap(default_cors()) .configure(updates::config), ); - cfg.service( - web::scope("/hosting") - .wrap(default_cors()) - .service(web::Redirect::to(ENV.ARCHON_URL.to_string()).permanent()), - ); cfg.service( web::scope("/analytics") .wrap(