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!

πŸ‘½οΈ Updates path to currency-flag assets

Alicia Sykes45e06d2e6645
diff --git a/src/utils/MiscHelpers.js b/src/utils/MiscHelpers.js
index 1225ee06..200650f4 100644
--- a/src/utils/MiscHelpers.js
+++ b/src/utils/MiscHelpers.js
@@ -65,7 +65,7 @@ export const getCountryFlag = (countryCode, dimens) => {
/* Given a currency code, return path to corresponding countries flag icon */
export const getCurrencyFlag = (currency) => {
const cdn = 'https://raw.githubusercontent.com/Lissy93/currency-flags';
- return `${cdn}/master/flags_png_rectangle/${currency.toLowerCase()}.png`;
+ return `${cdn}/master/assets/flags_png_rectangle/${currency.toLowerCase()}.png`;
};
/* Given a Latitude & Longitude object, and optional zoom level, return link to OSM */