Skip to content

fix: add missing frontend config keys - #48

Merged
MateoLostanlen merged 1 commit into
mainfrom
fix/frontend-config-keys
Sep 28, 2026
Merged

MateoLostanlen merged 1 commit into
mainfrom
fix/frontend-config-keys

Conversation

@MateoLostanlen

Copy link
Copy Markdown
Member
  • The React platform image now reads ALERTS_PLAYER_BUFFER_SIZE, which is missing from containers/frontend/app-config.js. Without it the platform requests /sequences/{id}/detections?limit=NaN, the API returns 422, and alert images stay blank.
  • Adds the 5 keys the image expects, with the defaults from the image's own config: ALERTS_PLAYER_BUFFER_SIZE, CAMERA_CONTROL_TIMEOUT_MS, the two azimuth refresh intervals, and IGN_API_KEY.
  • After updating, do a hard reload (Cmd+Shift+R), because the browser caches app-config.js.

Without ALERTS_PLAYER_BUFFER_SIZE the platform requests detections with
limit=NaN and alert images never load.
@MateoLostanlen
MateoLostanlen merged commit 1ca3360 into main Sep 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants