Add frontend #1
@@ -68,11 +68,11 @@ func Register(app *fiber.App, envCfg *envconfig.EnvConfig, db *sql.DB) {
|
|||||||
|
|
||||||
public.Post("/deploy", deploySiteHandler.PostDeploy)
|
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{
|
public.Get("/swagger/*", swagger.New(swagger.Config{
|
||||||
URL: "/api/docs.json",
|
URL: "/api/v1/docs.json",
|
||||||
Title: "mcheads.net API Documentation",
|
Title: "Quay API Documentation",
|
||||||
}))
|
}))
|
||||||
|
|
||||||
// Protected routes - require auth for everything by default
|
// Protected routes - require auth for everything by default
|
||||||
|
|||||||
Reference in New Issue
Block a user