mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 03:55:59 +00:00
refactor: remove archon redirect
This commit is contained in:
@@ -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!(""),
|
||||
),
|
||||
},
|
||||
],
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user