mirror of
https://github.com/R0m1k3/noteflow.git
synced 2026-10-11 17:29:37 +02:00
Merge pull request #70 from R0m1k3/claude/update-rss-feeds-011CV6EZDsWAUqbRHZR1117Q
Fix: Augmentation limites frontend articles RSS
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -183,7 +183,7 @@ const Index = () => {
|
||||
|
||||
const loadRssArticles = async () => {
|
||||
try {
|
||||
const articles = await RssService.getArticles(14);
|
||||
const articles = await RssService.getArticles(100);
|
||||
if (Array.isArray(articles)) {
|
||||
setRssArticles(articles);
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ class RssService {
|
||||
}
|
||||
}
|
||||
|
||||
async getArticles(limit: number = 20): Promise<RssArticle[]> {
|
||||
async getArticles(limit: number = 50): Promise<RssArticle[]> {
|
||||
try {
|
||||
const response = await axios.get(`${this.baseURL}/articles?limit=${limit}`, this.getAuthHeader());
|
||||
return response.data;
|
||||
|
||||
Reference in new issue
Block a user