限制首页 Feed 自动加载上限,超出后支持手动加载更多历史帖子。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-16 06:11:33 +08:00
parent 0eae3f8c47
commit 9767b54192
34 changed files with 147 additions and 61 deletions

View File

@@ -9,6 +9,9 @@ const DEFAULT_LIMITS: ForumLimitsPublic = {
comment_max: 5000,
search_keyword_min: 1,
search_keyword_max: 50,
page_size_default: 30,
feed_max_pages: 10,
feed_max_items: 300,
password_min_len: 6,
avatar_max_mb: 2,
};