2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 14:57:16 +08:00

fix: Swagger name

This commit is contained in:
耗子
2023-12-14 01:21:39 +08:00
parent ccc50ed6ee
commit 599f3b5cb4

View File

@@ -38,7 +38,7 @@ func NewSwaggerController() *SwaggerController {
// @Router /swagger [get]
func (r *SwaggerController) Index(ctx http.Context) http.Response {
err := swagger.New(swagger.Config{
Title: "RPA Swagger",
Title: "耗子面板 Swagger",
})(ctx.(*fiber.Context).Instance())
if err != nil {
return Error(ctx, http.StatusNotFound, err.Error())