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!

:incoming_envelope: Extracts icon CDN endpoints into Defaults

Alicia Sykesa771fe4fc991
diff --git a/src/utils/defaults.js b/src/utils/defaults.js
index 09f5a2f6..1d731b9e 100644
--- a/src/utils/defaults.js
+++ b/src/utils/defaults.js
@@ -126,6 +126,15 @@ module.exports = {
allesedv: 'https://f1.allesedv.com/128/$URL',
webmasterapi: 'https://api.webmasterapi.com/v1/favicon/yEwx0ZFs0CSPshHq/$URL',
},
+ /* The URL to CDNs used for external icons. These are only loaded when required */
+ iconCdns: {
+ fa: 'https://kit.fontawesome.com',
+ mdi: 'https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css',
+ si: 'https://unpkg.com/simple-icons@v5/icons',
+ generative: 'https://ipsicon.io',
+ localPath: '/item-icons',
+ faviconName: 'favicon.ico',
+ },
/* Available built-in colors for the theme builder */
swatches: [
['#eb5cad', '#985ceb', '#5346f3', '#5c90eb'],