Skip to content

v1.6.48 - Bug Fixes for Station URL and Blog Proxy

Choose a tag to compare

@x1watt x1watt released this 22 Dec 01:37
· 1704 commits to main since this release

Bug Fixes

Station URL Handling

  • Fixed RemoteDevice to properly handle station URLs with fallback support
  • Now uses device.url (station device was discovered through) when available
  • Falls back to preferred station from StationService if device.url is not set
  • Properly converts WebSocket URLs (wss://) to HTTP URLs (https://)
  • Supports custom station configuration for future extensibility
  • Fixed GitHub Actions build failures caused by non-existent stationUrl property

Blog HTML Proxy

  • Fixed path format for blog HTML requests via station proxy
  • Proxy now sends correct path: /{callsign}/blog/{filename}.html
  • Previously sent incorrect path: /api/blog/{filename}.html
  • This ensures proper routing through LogApiService _handleBlogHtmlRequest()
  • Blog HTML now correctly served from devices/{callsign}/blog/ directory

Technical Changes

Files Modified

  • lib/pages/remote_blog_browser_page.dart
    • Added StationService import and integration
    • Implemented station URL resolution with fallback logic
    • Added error handling for missing station URLs
  • lib/services/station_server_service.dart
    • Fixed blog proxy path format (line 1844)

Build System

  • All GitHub Actions builds now passing (CLI, Web, Linux, iOS, macOS, Windows, Android)
  • Fixed compilation errors across all platforms

Version Updates

  • Updated version: 1.6.47 → 1.6.48