Skip to content

CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.

update route.go

linkb1d5d9858b3a
diff --git a/route/doc.go b/route/doc.go
index 1bac9a9..fafe1d6 100644
--- a/route/doc.go
+++ b/route/doc.go
@@ -4,6 +4,7 @@
package route
import (
+ _ "github.com/IceWhaleTech/CasaOS/docs"
ginSwagger "github.com/swaggo/gin-swagger"
swaggerFiles "github.com/swaggo/gin-swagger/swaggerFiles"
)
diff --git a/route/route.go b/route/route.go
index b81ac06..c310ceb 100644
--- a/route/route.go
+++ b/route/route.go
@@ -3,7 +3,6 @@ package route
import (
"net/http"
- _ "github.com/IceWhaleTech/CasaOS/docs"
"github.com/IceWhaleTech/CasaOS/middleware"
"github.com/IceWhaleTech/CasaOS/pkg/config"
jwt2 "github.com/IceWhaleTech/CasaOS/pkg/utils/jwt"