From de97f562a12032407d917e6504a7b8da35cb1839 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Fri, 3 Dec 2021 16:55:57 +0000 Subject: [PATCH] :alien: Adds constants for weather API endpoint --- src/utils/defaults.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/utils/defaults.js b/src/utils/defaults.js index 16418044..9dd99fcd 100644 --- a/src/utils/defaults.js +++ b/src/utils/defaults.js @@ -203,6 +203,10 @@ module.exports = { homeLabIcons: 'https://raw.githubusercontent.com/WalkxCode/dashboard-icons/master/png/{icon}.png', homeLabIconsFallback: 'https://raw.githubusercontent.com/NX211/homer-icons/master/png/{icon}.png', }, + /* API endpoints for widgets that need to fetch external data */ + widgetApiEndpoints: { + weather: 'https://api.openweathermap.org/data/2.5/weather', + }, /* URLs for web search engines */ searchEngineUrls: { // Common