diff --git a/protocol-units/execution/maptos/opt-executor/src/executor.rs b/protocol-units/execution/maptos/opt-executor/src/executor.rs index e50f06227..7f87e414f 100644 --- a/protocol-units/execution/maptos/opt-executor/src/executor.rs +++ b/protocol-units/execution/maptos/opt-executor/src/executor.rs @@ -346,8 +346,8 @@ impl Executor { let app = Route::new() .nest("/v1", api_service) .nest("/spec", ui) - .nest("/movement/v1/health", health) - .nest("/movement/v1/state-root-hash/:blockheight", state_root_hash) + .set("/movement/v1/health", health) + .set("/movement/v1/state-root-hash/:blockheight", state_root_hash) .with(cors); Server::new(TcpListener::bind(self.aptos_config.aptos_rest_listen_url.clone()))