Added add_display_name
Some checks failed
Build Project / test (push) Has been cancelled

This commit is contained in:
2025-02-05 22:16:09 +00:00
parent acbb61131b
commit eea776d31e
4 changed files with 31 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ async fn main() -> std::io::Result<()> {
.app_data(web::Data::new(AppState {
db: db.clone(),
firmwares_path: PathBuf::from("./fw"),
hostname: "127.0.0.1:8282".to_string(),
hostname: "0.0.0.0:8282".to_string(),
}))
.app_data(web::PayloadConfig::new(256 * 1024 * 1024)) //256MB
.service(device_telemetry_api::receive_telemetry)