summaryrefslogtreecommitdiff
path: root/src/config/defaults.ts
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-10 18:49:09 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-10 18:49:09 +1000
commitaeec219e843ad1d5b50378dd5817323c3ab4c324 (patch)
tree761d91358cfd9daeeec105a8c9332101fe957bf5 /src/config/defaults.ts
parentstyle: make transparency same for light/dark (diff)
downloadcaelestia-shell-aeec219e843ad1d5b50378dd5817323c3ab4c324.tar.gz
caelestia-shell-aeec219e843ad1d5b50378dd5817323c3ab4c324.tar.bz2
caelestia-shell-aeec219e843ad1d5b50378dd5817323c3ab4c324.zip
config: limit news param types
Limit countries, categories and languages to specific literals
Diffstat (limited to 'src/config/defaults.ts')
-rw-r--r--src/config/defaults.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/defaults.ts b/src/config/defaults.ts
index 70a4700..b365a26 100644
--- a/src/config/defaults.ts
+++ b/src/config/defaults.ts
@@ -169,8 +169,8 @@ export default {
countries: ["current"], // A list of country codes or "current" for the current location
categories: [] as string[], // A list of news categories to filter by
languages: ["en"], // A list of languages codes to filter by
- domains: [] as string[], // A list of news domains to pull from
- timezone: "", // A timezone to filter by, e.g. "America/New_York"
+ domains: [] as string[], // A list of news domains to pull from, see https://newsdata.io/news-sources for available domains
+ timezone: "", // A timezone to filter by, e.g. "America/New_York", see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
pages: 3, // Number of pages to pull (each page is 10 articles)
},
};