From a6f26b3d379029660a651d5fff4822b0044cc49f Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 9 Apr 2025 00:14:48 +1000 Subject: weather: store api key directly in config Also only notify once when no api key for both weather and news --- src/config/defaults.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config/defaults.ts') diff --git a/src/config/defaults.ts b/src/config/defaults.ts index cccc421..d5db290 100644 --- a/src/config/defaults.ts +++ b/src/config/defaults.ts @@ -125,7 +125,7 @@ export default { }, weather: { interval: 600000, - key: "assets/weather-api-key.txt", // Path to file containing api key relative to the base directory. To get a key, visit https://weatherapi.com/ + apiKey: "", // An API key from https://weatherapi.com for accessing weather data location: "", // Location as a string or empty to autodetect imperial: false, }, -- cgit v1.2.3-freya