Fix import path and logging syntax errors
**Motivations:** • Fix import path error for secure-logger in router.ts • Fix syntax error in home.ts logging call **Modifications:** • Updated import path from '../services/secure-logger' to './services/secure-logger' in router.ts • Fixed logging call syntax in home.ts **Pages affected:** • router.ts • home.ts
This commit is contained in:
parent
73690e1e22
commit
10f85e20df
@ -549,7 +549,7 @@ function setupUserInteractionListener(): void {
|
|||||||
if (hasTriggered) {return;}
|
if (hasTriggered) {return;}
|
||||||
hasTriggered = true;
|
hasTriggered = true;
|
||||||
|
|
||||||
secureLogger.info('🔐 User interaction detected:', { component: 'HomePage', data: event.type, 'triggering WebAuthn...' });
|
secureLogger.info('User interaction detected:', { component: 'HomePage', data: event.type });
|
||||||
await handleMainPairing();
|
await handleMainPairing();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// CSS is loaded via HTML link tag
|
// CSS is loaded via HTML link tag
|
||||||
import Database from './services/database.service';
|
import Database from './services/database.service';
|
||||||
import { secureLogger } from '../services/secure-logger';
|
import { secureLogger } from './services/secure-logger';
|
||||||
import Services from './services/service';
|
import Services from './services/service';
|
||||||
import TokenService from './services/token';
|
import TokenService from './services/token';
|
||||||
import { cleanSubscriptions } from './utils/subscription.utils';
|
import { cleanSubscriptions } from './utils/subscription.utils';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user