π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
Allow favicons for subdomains
Desmond Kyeremehfe6989cab4c3
diff --git a/src/components/LinkItems/ItemIcon.vue b/src/components/LinkItems/ItemIcon.vueindex 7345d8a0..df05c452 100644--- a/src/components/LinkItems/ItemIcon.vue+++ b/src/components/LinkItems/ItemIcon.vue@@ -202,7 +202,7 @@ export default {/* For a given URL, return the hostname only. Used for favicon and generative icons */getHostName(url) {try {- return new URL(url).hostname.split('.').slice(-2).join('.');+ return new URL(url).hostname;} catch (e) {ErrorHandler('Unable to format URL');return url;