Skip to content

Commit 194833b

Browse files
fix: place /jet/tunnel routes behind enable_unstable flag
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ad3d3a0 commit 194833b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • devolutions-gateway/src/api

devolutions-gateway/src/api/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ pub fn make_router<S>(state: crate::DgwState) -> axum::Router<S> {
3636
.nest("/jet/webapp", webapp::make_router(state.clone()))
3737
.nest("/jet/net", net::make_router(state.clone()))
3838
.nest("/jet/traffic", traffic::make_router(state.clone()))
39-
.nest("/jet/tunnel", tunnel::make_router(state.clone()))
4039
.nest("/jet/update", update::make_router(state.clone()));
4140

4241
if state.conf_handle.get_conf().web_app.enabled {
@@ -47,6 +46,7 @@ pub fn make_router<S>(state: crate::DgwState) -> axum::Router<S> {
4746
}
4847

4948
if state.conf_handle.get_conf().debug.enable_unstable {
49+
router = router.nest("/jet/tunnel", tunnel::make_router(state.clone()));
5050
router = router.nest("/jet/net/monitor", monitoring::make_router(state.clone()));
5151

5252
if state.conf_handle.get_conf().ai_gateway.enabled {

0 commit comments

Comments
 (0)