fix: skip online table writes for curl/healthcheck requests #52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
apb_UserOnlineHandler() now returns immediately when the User-Agent
starts with "curl/" — covers Docker HEALTHCHECK and any monitoring
tool using plain curl. UA-based rather than IP-based so it works
for every self-hosted installation regardless of network topology.
Additionally adds public/health.php, a zero-framework endpoint that
returns HTTP 200 + {"status":"ok"} without any DB connection or
session handling. The docker-compose HEALTHCHECK now targets this
dedicated endpoint instead of the full APBoard main page.
Pull request closed