fix: disabling some APIs (#12220)

This commit is contained in:
Harsh Mahajan
2026-05-25 15:58:26 +00:00
committed by GitHub
parent feb5194375
commit 4f3db1cf79
-4
View File
@@ -552,8 +552,6 @@ pub fn config_routes() -> Router {
Router::new()
.route("/", get(status::zo_config))
.route("/logout", get(status::logout))
.route("/runtime", get(status::config_runtime))
.route("/reload", get(status::config_reload))
}
#[cfg(feature = "enterprise")]
@@ -561,8 +559,6 @@ pub fn config_routes() -> Router {
Router::new()
.route("/", get(status::zo_config))
.route("/logout", get(status::logout))
.route("/runtime", get(status::config_runtime))
.route("/reload", get(status::config_reload))
.route("/redirect", get(status::redirect))
.route("/dex_login", get(status::dex_login))
.route("/dex_refresh", get(status::refresh_token_with_dex))