From e23f23fa7423d17f9487c587fc947baafa913c47 Mon Sep 17 00:00:00 2001 From: KartoffelChipss Date: Wed, 6 May 2026 19:08:51 +0200 Subject: [PATCH] Fix swagger docs url paths --- backend/app/routes/routes.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/app/routes/routes.go b/backend/app/routes/routes.go index 7bcccf0..3b75256 100644 --- a/backend/app/routes/routes.go +++ b/backend/app/routes/routes.go @@ -68,11 +68,11 @@ func Register(app *fiber.App, envCfg *envconfig.EnvConfig, db *sql.DB) { public.Post("/deploy", deploySiteHandler.PostDeploy) - public.Get("/api/docs.json", static.New("./docs/swagger.json")) + public.Get("/docs.json", static.New("./docs/swagger.json")) - public.Get("/api/swagger/*", swagger.New(swagger.Config{ - URL: "/api/docs.json", - Title: "mcheads.net API Documentation", + public.Get("/swagger/*", swagger.New(swagger.Config{ + URL: "/api/v1/docs.json", + Title: "Quay API Documentation", })) // Protected routes - require auth for everything by default