Skip to content

Commit

Permalink
nest to set
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmovses committed Jun 11, 2024
1 parent 5a971d5 commit 6aa6662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocol-units/execution/maptos/opt-executor/src/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
Expand Down

0 comments on commit 6aa6662

Please sign in to comment.