Skip to content

Removes the image in case of WebSocket disconnect

Lorenzo Setale requested to merge fallback-in-case-of-ws-disconnect into main

It happened once due to Heroku killing the app after a long time of not usage that the image was still displayed. This will make the image disappear if the WebSocket connection is lost.

Changelog

Added:

  • Resets the background Image in HTML when web socket connection is lost

Changed:

  • Uses a setImage javascript function
  • Renamed Merge Requests template

Checklist

Ensure that before making this PR you have:

  • Read the contributing guidelines
  • Agreed with the LICENSE
  • Run go fmt ./...
  • Run go mod tidy

Merge request reports