summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 762a817..ee540af 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -52,7 +52,7 @@ async fn main() {
52 52
53 let ping_map: DashMap<String, (String, bool)> = DashMap::new(); 53 let ping_map: DashMap<String, (String, bool)> = DashMap::new();
54 54
55 let shared_state = Arc::new(AppState { db, ping_send: tx, ping_map: Arc::new(ping_map) }); 55 let shared_state = Arc::new(AppState { db, ping_send: tx, ping_map });
56 56
57 let app = Router::new() 57 let app = Router::new()
58 .route("/start", post(start)) 58 .route("/start", post(start))