🗑️ Remove the frontend redirector

This commit is contained in:
2024-07-16 16:53:40 +08:00
parent 7f79c1a5ad
commit 248f97742b
7 changed files with 5 additions and 120 deletions

View File

@ -4,8 +4,8 @@ import (
"github.com/gofiber/fiber/v2"
)
func MapAPIs(app *fiber.App) {
api := app.Group("/api").Name("API")
func MapAPIs(app *fiber.App, baseURL string) {
api := app.Group(baseURL).Name("API")
{
api.Get("/users/me", getUserinfo)
api.Get("/users/:accountId", getOthersInfo)