From 80a11fbb0b22edeb7844606dd5a48d86b7147053 Mon Sep 17 00:00:00 2001 From: G2-Games Date: Sat, 22 Mar 2025 16:21:52 -0500 Subject: [PATCH] Revert last change --- confetti-box/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confetti-box/src/lib.rs b/confetti-box/src/lib.rs index 0a2c8c9..c85053e 100644 --- a/confetti-box/src/lib.rs +++ b/confetti-box/src/lib.rs @@ -301,7 +301,7 @@ pub async fn websocket_upload( let message = message.unwrap().into_data(); offset += message.len() as u64; - if (offset >= info.1.size) | (offset > max_filesize) { + if (offset > info.1.size) | (offset > max_filesize) { break }