🚚 Move well known api path

This commit is contained in:
LittleSheep 2025-01-04 18:11:09 +08:00
parent 5273498af1
commit 5bdc59b4af

View File

@ -5,11 +5,11 @@ import (
)
func MapAPIs(app *fiber.App, baseURL string) {
app.Get("/.well-known/openid-configuration", getOidcConfiguration)
app.Get("/.well-known/jwks", getJwk)
api := app.Group(baseURL).Name("API")
{
api.Get("/well-known/openid-configuration", getOidcConfiguration)
api.Get("/well-known/jwks", getJwk)
checkIn := api.Group("/check-in").Name("Daily Check In API")
{
checkIn.Get("/", listCheckInRecord)