From 44f25201f3748825595eccc419b60998d1ad0afa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 26 Aug 2026 19:40:09 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=87=20fix(settings):=20the=20MB=20cons?= =?UTF-8?q?tant=20only=20exists=20where=20the=20server=20code=20that=20use?= =?UTF-8?q?s=20it=20does?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/izlek-web/src/settings.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/izlek-web/src/settings.rs b/crates/izlek-web/src/settings.rs index 36a23cb..e4bff54 100644 --- a/crates/izlek-web/src/settings.rs +++ b/crates/izlek-web/src/settings.rs @@ -104,6 +104,7 @@ pub struct Limits { pub const WIDEST_ATTACHMENT_MB: u64 = 500; pub const WIDEST_PHOTO_MB: u64 = 20; +#[cfg(feature = "ssr")] const MB: u64 = 1024 * 1024; /// One row of the member list, as an admin may see it. There is no password