feat: redirect /hosting to archon

This commit is contained in:
sychic
2026-06-02 17:09:50 +01:00
committed by Calum H. (IMB11)
parent d61397097c
commit 5a31f35f3e
+5
View File
@@ -34,6 +34,11 @@ 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(