수정
This commit is contained in:
@@ -137,9 +137,8 @@ class ProxyHandler(BaseHTTPRequestHandler):
|
||||
continue
|
||||
filtered.append((href, txt))
|
||||
|
||||
# Exclude notices (공지) anywhere in the title, then apply skip/limit
|
||||
filtered_no_notice = [(h, t) for (h, t) in filtered if '공지' not in (t or '').lower()]
|
||||
posts = filtered_no_notice[skip:skip+limit]
|
||||
# Apply skip/limit to all filtered items (including notices)
|
||||
posts = filtered[skip:skip+limit]
|
||||
|
||||
# Build simple HTML list for posts only
|
||||
host = self.headers.get("Host", f"localhost:{self.server.server_port}")
|
||||
|
||||
Reference in New Issue
Block a user