More webapp changes+fixes
This commit is contained in:
@@ -26,7 +26,7 @@ The app follows a feature-based module organization with standalone components:
|
||||
|
||||
### Key Patterns
|
||||
|
||||
**Authentication**: Uses a custom `SCN` token scheme. Credentials (user_id and admin_key) are stored in sessionStorage and attached via `authInterceptor`. The `authGuard` protects all routes except `/login`.
|
||||
**Authentication**: Uses a custom `SCN` token scheme. Credentials (user_id and admin_key) are stored in localStorage and attached via `authInterceptor`. The `authGuard` protects all routes except `/login`.
|
||||
|
||||
**API Communication**: All API calls go through `ApiService` (`src/app/core/services/api.service.ts`). The base URL is configured in `src/environments/environment.ts`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user