gotify/server

HEAD method on /health endpoint throw 404 error

Closed this issue · 1 comments

Can the issue be reproduced with the latest available release? (y/n)
yes

Which one is the environment gotify server is running in?

  • Docker
  • Linux machine
  • Windows machine

What did you do?
actually i'm using uptimerobot service to track uptime which make HEAD request by default to the given healthcheck endpoint (HEAD /health endpoint in our case). but as it is getting 404 so it is considering health endpoint to be not working.

What did you expect to see?
it should return response with 200 http status code

What did you see instead? (Include screenshots, android logcat/request dumps if possible)
404 http status code

raised a PR for fix #688