Skip to content

Commit 36a034a

Browse files
feat(dgw): stabilize /jet/net/config (#1311)
1 parent 7518a4e commit 36a034a

File tree

1 file changed

+3
-8
lines changed
  • devolutions-gateway/src/api

1 file changed

+3
-8
lines changed

devolutions-gateway/src/api/net.rs

+3-8
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,9 @@ use std::net::{IpAddr, Ipv4Addr, Ipv6Addr};
2121
use std::time::Duration;
2222

2323
pub fn make_router<S>(state: DgwState) -> Router<S> {
24-
let router = Router::new().route("/scan", axum::routing::get(handle_network_scan));
25-
26-
let router = if state.conf_handle.get_conf().debug.enable_unstable {
27-
// This route is currently unstable and disabled by default.
28-
router.route("/config", axum::routing::get(get_net_config))
29-
} else {
30-
router
31-
};
24+
let router = Router::new()
25+
.route("/scan", axum::routing::get(handle_network_scan))
26+
.route("/config", axum::routing::get(get_net_config));
3227

3328
router.with_state(state)
3429
}

0 commit comments

Comments
 (0)