From 421ef9fe9421fb7e6b3ce6d89e92f283c8318b30 Mon Sep 17 00:00:00 2001 From: Anway Durge <124391429+itzanway@users.noreply.github.com> Date: Tue, 1 Oct 2024 23:04:34 +0530 Subject: [PATCH 1/2] Configurable Favicon #93 Signed-off-by: Anway Durge <124391429+itzanway@users.noreply.github.com> --- .env | 1 + README.md | 8 ++++++++ public/index.html | 2 ++ src/main.js | 6 ++++++ 4 files changed, 17 insertions(+) diff --git a/.env b/.env index b90987b2a..0fa5cd169 100644 --- a/.env +++ b/.env @@ -2,3 +2,4 @@ NODE_ENV=production VUE_APP_I18N_LOCALE=en VUE_APP_I18N_FALLBACK_LOCALE=en VUE_APP_SERVER_URL= +DT_FAVICON_PATH=/path/to/favicon.ico diff --git a/README.md b/README.md index cdcb6bd9e..ed74c12de 100644 --- a/README.md +++ b/README.md @@ -129,6 +129,14 @@ To do this, hover over the _No Translation_ item of a language, and click the gl ![Machine translation in i18n Ally](.github/images/i18n_i18n-ally-translate.png) +# Custom Favicon Configuration +You can configure a custom favicon for your Dependency-Track instance by setting the `DT_FAVICON_PATH` environment variable. + +# Example: +`bash +DT_FAVICON_PATH=/assets/favicon-production.ico + + ## Copyright & License Dependency-Track is Copyright (c) OWASP Foundation. All Rights Reserved. diff --git a/public/index.html b/public/index.html index 6a576e19c..1a69a8c9b 100644 --- a/public/index.html +++ b/public/index.html @@ -6,6 +6,7 @@ Dependency-Track +