Make User-Agent configurable via env var DISC_DROP_USER_AGENT

This commit is contained in:
2026-07-07 13:35:18 +02:00
parent b8e150214b
commit 4b3c9c29fd
2 changed files with 11 additions and 2 deletions
@@ -15,3 +15,6 @@ quarkus.jackson.fail-on-unknown-properties=false
discdrop.db.path=${DISC_DROP_DB_PATH:data/discdrop.db}
discdrop.cache.ttl-hours=${DISC_DROP_CACHE_TTL:8}
discdrop.base-url=${DISC_DROP_BASE_URL:http://localhost:8080}
# User-Agent sent to MusicBrainz API (env: DISC_DROP_USER_AGENT)
discdrop.user-agent=${DISC_DROP_USER_AGENT:DiscDrop/1.0 (https://gitea.t3du.com/droideparanoico/discdrop)}