refactor: remove archon redirect

This commit is contained in:
sychic
2026-06-02 17:09:50 +01:00
committed by Calum H. (IMB11)
parent 40f49518aa
commit 102fa43fd1
2 changed files with 2 additions and 7 deletions
+2 -2
View File
@@ -447,14 +447,14 @@ impl From<DBNotification> 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!(""),
),
},
],
-5
View File
@@ -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(