♻️ Update status check api

This commit is contained in:
2024-06-17 22:23:41 +08:00
parent 9c3b42f078
commit d2fdb5a72b
4 changed files with 8 additions and 52 deletions

View File

@ -65,6 +65,7 @@ func NewServer() {
A.Get("/.well-known", getMetadata)
A.Get("/.well-known/openid-configuration", getOidcConfiguration)
A.Get("/.well-known/status", getStatus)
api := A.Group("/api").Name("API")
{

View File

@ -32,3 +32,7 @@ func getOidcConfiguration(c *fiber.Ctx) error {
"token_endpoint_auth_signing_alg_values_supported": []string{"HS512"},
})
}
func getStatus(c *fiber.Ctx) error {
return c.SendStatus(fiber.StatusOK)
}