設定文件的 **Storage limits** 一節仍將單一附件上傳上限寫為 **2 MiB**,但 **v0.35.1** 的後端原始碼已經是 **20 MiB**。 ### 文件位置 https://docs.codeg.app/getting-started/configuration#storage-limits 目前線上文件寫的是: > Each individual attachment is additionally capped at 2 MiB — a fixed limit, not configurable. ### 發行版原始碼 [v0.35.1: src-tauri/src/web/handlers/files.rs, line 222](https://github.com/spacering-net/codeg/blob/v0.35.1/src-tauri/src/web/handlers/files.rs#L222) ```rust pub const UPLOAD_MAX_BYTES: u64 = 20 * 1024 * 1024; ``` 這對應 **20 MiB(20,971,520 bytes)**。該常數的註解也明確說明它用於 web / remote-workspace 的單一附件上傳。 建議將文件中的 **2 MiB** 更新為 **20 MiB**;如果需要保留舊版本說明,可以註明適用版本。這個差異會讓使用者誤以為 2–20 MiB 的 PDF 等附件無法透過網頁上傳。 驗證方式:對照目前線上文件與 v0.35.1 原始碼;未進行實際上傳測試。
Activity
[-]文档勘误:附件上传上限未更新(2 MiB → 20 MiB)[/-][+]文件勘誤:附件上傳上限未更新(2 MiB → 20 MiB)[/+]xintaofei commentedon Oct 12, 2026
codeg work task
314is done — merged locally intomainasf3c4e88(2 files, +6/-2).docs(upload): name the docs page that states the attachment cap