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(