Feat(swagger): Updated swagger path to /docs
All checks were successful
Webhook-Everything/Webhook-Everything/pipeline/head This commit looks good
All checks were successful
Webhook-Everything/Webhook-Everything/pipeline/head This commit looks good
This commit is contained in:
@@ -56,7 +56,7 @@ func main() {
|
|||||||
r := chi.NewRouter()
|
r := chi.NewRouter()
|
||||||
|
|
||||||
if environment == "dev" {
|
if environment == "dev" {
|
||||||
r.Mount("/swagger", httpSwagger.WrapHandler)
|
r.Mount("/docs", httpSwagger.WrapHandler)
|
||||||
}
|
}
|
||||||
|
|
||||||
r.Get("/", rootHandler)
|
r.Get("/", rootHandler)
|
||||||
|
|||||||
Reference in New Issue
Block a user