Add frontend #1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user