scan flow: fire scan immediately on tag-page load (location is an upgrade, not a gate) so a tag view always records+alerts; add request logging middleware (method/path/status/duration) to stdout for diagnostics
This commit is contained in:
@@ -145,6 +145,9 @@
|
||||
{timeout: 20000, maximumAge: 0}
|
||||
);
|
||||
}
|
||||
// Fire a scan immediately so a tag view always reports (and alerts) —
|
||||
// location is an upgrade, never a gate.
|
||||
sendScan(null, null);
|
||||
if (btn) btn.addEventListener("click", tryLocation);
|
||||
tryLocation();
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user