What's Changed
Bug Fixes
-
OIDC Authentication: Fixed service worker intercepting OIDC callback requests, preventing successful login
- Service worker now properly excludes all
/api/*routes from caching - Added
skipWaitingandclientsClaimfor immediate service worker updates - Added explicit session save before redirect to ensure session persistence
- Added
<base>tag to HTML for proper relative URL resolution
- Service worker now properly excludes all
-
Map Loading: Fixed Content Security Policy blocking OpenStreetMap tile requests
- Added OpenStreetMap tile domains to CSP
imgSrcandconnectSrcdirectives - Prevents thousands of CSP violation errors on page reload
- Map tiles now load reliably via service worker caching
- Added OpenStreetMap tile domains to CSP
Technical Details
The service worker was using Workbox's generateSW mode which was intercepting API routes and serving cached HTML instead of allowing requests to reach the Express server. This release adds multiple layers of protection to ensure API routes are never cached or intercepted, while still allowing efficient caching of map tiles and static assets.
Full Changelog: v2.6.1...v2.6.2
What's Changed
Full Changelog: v2.6.1...v2.6.2
๐ MeshMonitor v2.6.2
๐ฆ Installation
Docker (recommended):
docker run -d \
--name meshmonitor \
-p 8080:3001 \
-v meshmonitor-data:/data \
ghcr.io/Yeraze/meshmonitor:v2.6.2๐งช Testing
โ
All tests passed
โ
TypeScript checks passed
โ
Docker images built for linux/amd64, linux/arm64, linux/arm/v7
๐ Changes
See commit history for detailed changes.