mirror of https://github.com/usememos/memos.git
Refactored video/audio file serving to use streaming via ReadSeeker instead of loading entire files into memory. For local storage, files are opened directly for zero-copy streaming. For S3 and database storage, content is still loaded into memory as these sources don't provide seekable streams. This significantly reduces memory footprint when serving large media files. |
||
|---|---|---|
| .. | ||
| auth | ||
| router | ||
| runner | ||
| server.go | ||