* Check ZAP authentication status - simplified since auth is now per-scan
()
| 20384 | |
| 20385 | async function refreshWifiStatus() { |
| 20386 | try { |
| 20387 | let activeInterface = getActiveWifiInterface(); |
| 20388 | const statusQuery = activeInterface |
| 20389 | ? `/api/wifi/status?interface=${encodeURIComponent(activeInterface)}` |
| 20390 | : '/api/wifi/status'; |
| 20391 | const data = await fetchAPI(statusQuery); |
| 20392 | console.log('Wi-Fi status data received:', data); |
| 20393 | const multiState = data.multi_interface || null; |
| 20394 | wifiMultiInterfaceState = multiState; |
| 20395 | if (multiState && Array.isArray(multiState.interfaces)) { |
| 20396 | setWifiInterfaceMetadata(multiState.interfaces); |