Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:alien: Adds constants for weather API endpoint

Alicia Sykesde97f562a120
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