Merge pull request #335 from MoonModules/copilot/suppress-usage-reporting-ap-mode

Suppress usage reporting in AP mode
This commit is contained in:
Will Tatam
2026-02-07 20:59:15 +00:00
committed by GitHub
2 changed files with 7 additions and 1 deletions

View File

@@ -3708,6 +3708,11 @@ function checkVersionUpgrade(info) {
if (versionCheckDone) return;
versionCheckDone = true;
// Skip version check in AP mode (no internet connectivity)
if (info.wifi && info.wifi.ap) {
return;
}
// Fetch version-info.json using existing /edit endpoint
fetch('/edit?edit=/version-info.json', {
method: 'get'