From a771fe4fc9914ee4677eb8aa8945fd10bc5f1432 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 8 Aug 2021 22:42:37 +0100 Subject: [PATCH] :incoming_envelope: Extracts icon CDN endpoints into Defaults --- src/utils/defaults.js | 9 +++++++++ 1 file changed, 9 insertions(+) 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/font@5.9.55/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'],