Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions firefly-cardanoconnect/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use aide::axum::{
routing::{get, post},
};
use anyhow::Result;
use axum::extract::DefaultBodyLimit;
use blockchain::BlockchainClient;
use clap::Parser;
use config::{CardanoConnectConfig, load_config};
Expand Down Expand Up @@ -122,6 +123,7 @@ async fn main() -> Result<()> {
)
.api_route("/chain/tip", get(get_chain_tip))
.route("/ws", axum::routing::get(handle_socket_upgrade))
.route_layer(DefaultBodyLimit::max(10 * 1024 * 1024))
.with_state(state);

firefly_server::server::serve(&config.api, [("v1", router)]).await
Expand Down
Loading