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