summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/defaults.ts2
-rw-r--r--src/config/types.ts2
2 files changed, 2 insertions, 2 deletions
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,
},
diff --git a/src/config/types.ts b/src/config/types.ts
index 736548a..2862612 100644
--- a/src/config/types.ts
+++ b/src/config/types.ts
@@ -78,7 +78,7 @@ export default {
"math.maxHistory": NUM,
"updates.interval": NUM,
"weather.interval": NUM,
- "weather.key": STR,
+ "weather.apiKey": STR,
"weather.location": STR,
"weather.imperial": BOOL,
"cpu.interval": NUM,