Add healthcheck endpoint

This commit is contained in:
2025-07-13 19:07:12 +00:00
parent 0b8299c87d
commit 446dc4b47f
+7
View File
@@ -31,6 +31,9 @@ async fn docs() -> &'static str {
The current endpoints are: The current endpoints are:
GET /healthcheck
Returns OK when the API is running.
GET /v1/profile GET /v1/profile
Return's the user's profile (username, name, avatar, banner, and URL). Return's the user's profile (username, name, avatar, banner, and URL).
@@ -113,3 +116,7 @@ async fn docs() -> &'static str {
" "
) )
} }
async fn healthcheck() -> &'static str {
"OK"
}