The MB constant only exists where the server code that uses it does
Browse files at this commit44f25201f3748825595eccc419b60998d1ad0afaParent: 5e2a21a- fix
- the MB constant only exists where the server code that uses it does
1 changed file +1 -0
crates/izlek-web/src/settings.rsmodified+1 -0
| @@ -104,6 +104,7 @@ pub struct Limits { | ||
| 104 | 104 | pub const WIDEST_ATTACHMENT_MB: u64 = 500; |
| 105 | 105 | pub const WIDEST_PHOTO_MB: u64 = 20; |
| 106 | 106 | |
| 107 | +#[cfg(feature = "ssr")] | |
| 107 | 108 | const MB: u64 = 1024 * 1024; |
| 108 | 109 | |
| 109 | 110 | /// One row of the member list, as an admin may see it. There is no password |