mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-09-07 15:07:17 +00:00
fix(player): remove leftover debug console.log
CodeQL alert 319 (js/log-injection). This logged the WebSocket discovery_status payload verbatim to the browser console under a "[DEBUG_LOG]" tag -- development-only cruft left in, not something that serves any product purpose. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
3dbf4bcd7e
commit
ed09141175
@@ -102,7 +102,6 @@ function App() {
|
||||
if (msg.type === 'devices') {
|
||||
setDevices(msg.data || {});
|
||||
} else if (msg.type === 'discovery_status') {
|
||||
console.log('[DEBUG_LOG] discovery_status:', msg.data);
|
||||
if (msg.data?.isDiscovering !== undefined) {
|
||||
setIsDiscovering(msg.data.isDiscovering);
|
||||
} else if (msg.data?.status === 'starting') {
|
||||
|
||||
Reference in New Issue
Block a user