fix(mobile): rsshub routes cache key

This commit is contained in:
DIYgod 2025-06-06 11:02:50 +08:00
parent 7229394143
commit 6828cf3241
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ export const RecommendationTab: TabComponent<{
const discoverLanguage = useUISettingKey("discoverLanguage")
const { data, isLoading } = useQuery({
queryKey: ["rsshub-popular", "cache", tab.value],
queryKey: ["rsshub-popular", "cache", tab.value, discoverLanguage],
queryFn: () =>
fetchRsshubPopular(tab.value, LanguageMap[discoverLanguage]).then((res) => res.data),
staleTime: 1000 * 60 * 60 * 24, // 1 day