ENV to change UA sent to outbound calls (Genius, Last.fm, LRCLIB)
This commit is contained in:
1 parent
9993e9927f
commit
6180d2f638
3 files changed
+11
-2
No files matched your search
@@ -257,6 +257,10 @@ if (!defined('RADIO_CONFIG_LOADED')) {
|
||||
'timezone' => radio_env('TIMEZONE', 'UTC'),
|
||||
'debug' => radio_env_bool('DEBUG', false),
|
||||
'show_errors' => radio_env_bool('SHOW_ERRORS', false),
|
||||
// Sent with every outbound request this server makes (Genius,
|
||||
// Last.fm, LRCLIB, custom now-playing feeds). Override per
|
||||
// deployment so multiple stations identify themselves distinctly.
|
||||
'user_agent' => radio_env('OUTBOUND_USER_AGENT', 'radio/2026.07 (+https://git.dou.bet/iamdoubz/radio)'),
|
||||
],
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user