summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/misc/swagger.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/misc/swagger.go')
-rw-r--r--routers/api/v1/misc/swagger.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/misc/swagger.go b/routers/api/v1/misc/swagger.go
index 0599f85154..e17b775227 100644
--- a/routers/api/v1/misc/swagger.go
+++ b/routers/api/v1/misc/swagger.go
@@ -10,7 +10,7 @@ import (
)
// tplSwagger swagger page template
-const tplSwagger base.TplName = "swagger"
+const tplSwagger base.TplName = "swagger/ui"
// Swagger render swagger-ui page with v1 json
func Swagger(ctx *context.Context) {