From 5bdc59b4af24f14c3ad6bb4b2b1049fa2c23d459 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 4 Jan 2025 18:11:09 +0800 Subject: [PATCH] :truck: Move well known api path --- pkg/internal/http/api/index.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/internal/http/api/index.go b/pkg/internal/http/api/index.go index 1be11d1..32164eb 100644 --- a/pkg/internal/http/api/index.go +++ b/pkg/internal/http/api/index.go @@ -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)