Kafkatorio/modules/web-map/src
Lazzexus d6d9444723 Fix web map blanking and websocket dropping behind a reverse proxy
- web-map: main() was bound to the whole site state, so every state
  update (e.g. each player position update over the websocket)
  re-rendered the page and re-attached the Leaflet map to a new
  element, blanking the tiles. Only re-render when the view, server
  list, or map instance changes.
- web-map: reconnect the websocket when it closes, instead of silently
  stopping live updates.
- events-server-web: send websocket pings every 30s, so idle
  connections aren't closed by reverse proxies (nginx defaults to a
  60s read timeout).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 18:09:03 +02:00
..
main Fix web map blanking and websocket dropping behind a reverse proxy 2026-10-12 18:09:03 +02:00
test/kotlin/test/dev/adamko/kafkatorio/webmap added kvision web-map, cleaning up a few gradle things (tokens) 2021-12-06 22:15:26 +01:00