Merge pull request #335 from MoonModules/copilot/suppress-usage-reporting-ap-mode
Suppress usage reporting in AP mode
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user