Fix: routes.js SyntaxError — _startRecInOvl als async deklariert (SW by-v886)
await _recAcquireWakeLock() in nicht-async Funktion → SyntaxError → ganzes Modul crashte → Fallback "Seite in Entwicklung" auf Production.
This commit is contained in:
parent
62ee64bc53
commit
3967544de7
4 changed files with 4 additions and 4 deletions
|
|
@ -3,7 +3,7 @@
|
|||
Router, State-Management, Navigation, Initialisierung.
|
||||
============================================================ */
|
||||
|
||||
const APP_VER = '885'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||
const APP_VER = '886'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||
const APP_VERSION = '1.5.1'; // ← semantische Version, wird bei make release gesetzt
|
||||
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
||||
// Cache-Bust-Parameter nach Update-Reload sofort entfernen
|
||||
|
|
|
|||
|
|
@ -700,7 +700,7 @@ window.Page_routes = (() => {
|
|||
ovl.querySelector('#rk-rec-startbtn').addEventListener('click', _startRecInOvl);
|
||||
}
|
||||
|
||||
function _startRecInOvl() {
|
||||
async function _startRecInOvl() {
|
||||
if (!navigator.geolocation) { UI.toast.error('GPS nicht verfügbar.'); return; }
|
||||
_recActive = true;
|
||||
_recTrack = []; _recDistKm = 0; _recStartTime = Date.now();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue