From 7ff66fb4aef8eb42743f39263f3a1881fa64537c Mon Sep 17 00:00:00 2001 From: Jack Platten Date: Sun, 23 Nov 2025 22:39:49 -0800 Subject: [PATCH] fix split terminator --- src/post_listener.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/post_listener.rs b/src/post_listener.rs index 972fea5..80f2a07 100644 --- a/src/post_listener.rs +++ b/src/post_listener.rs @@ -98,7 +98,7 @@ pub async fn websocket_listener(pool: sqlx::Pool) { .collect::>(); for (rkey, uri) in features { - let uri_parts: Vec<&str> = uri.split('/').collect(); + let uri_parts: Vec<&str> = uri.split_terminator('/').collect(); if let Some(&slug) = uri_parts.last() { let time_us_string = info.time_us.to_string(); let time_us = &time_us_string; -- 2.51.2