videah / SkyBridge

A work in progress bridge/proxy that lets you use Mastodon apps with Bluesky
https://skybridge.fly.dev
MIT License
543 stars 36 forks source link

Basic health check endpoint #31

Closed pstadler closed 1 year ago

pstadler commented 1 year ago

If SKYBRIDGE_SHOW_INDEX is set to false, calling / results in a 404.

It would be good to either return 200 there, or to have a separate endpoint for health checks. There's of course the possibility to configure a health check to expect 404 on an endpoint, but this is certainly not a good practice.

Related: https://fly.io/docs/reference/configuration/#http_service-checks https://docs.docker.com/engine/reference/builder/#healthcheck

pstadler commented 1 year ago

Awesome, thanks! 🙏🏻