This commit is contained in:
Alex Emmet 2026-04-08 11:41:03 +02:00
commit 17929bdad3
2 changed files with 1 additions and 2 deletions

View file

@ -3,7 +3,6 @@ use actix_web::{HttpRequest, HttpResponse, Responder, web};
use iota_storage::util::config_util::CONFIG; use iota_storage::util::config_util::CONFIG;
use serde_json::{Value, json}; use serde_json::{Value, json};
use std::net::SocketAddr; use std::net::SocketAddr;
use std::sync::Arc;
pub fn api_config(cfg: &mut web::ServiceConfig) { pub fn api_config(cfg: &mut web::ServiceConfig) {
cfg.service( cfg.service(

View file

@ -1,6 +1,6 @@
use crate::api::api_config; use crate::api::api_config;
use crate::web_path_parser; use crate::web_path_parser;
use actix_web::{App, Error, HttpRequest, HttpServer, Responder, dev::ServerHandle, web}; use actix_web::{App, HttpServer, dev::ServerHandle, web};
use iota_logger::log; use iota_logger::log;
use iota_state::{ACTIVE_TASKS, SHUTDOWN}; use iota_state::{ACTIVE_TASKS, SHUTDOWN};
use iota_util::file_util::load_file_buf; use iota_util::file_util::load_file_buf;