mirror of
https://github.com/cloudreve/Cloudreve.git
synced 2026-11-11 06:29:28 +00:00
Test: moveOrCopyFolder / File
This commit is contained in:
1 parent
362a7c389d
commit
5d50e7ed1e
8 files changed
+460
-6
No files matched your search
@@ -5,12 +5,14 @@ import (
|
||||
"github.com/HFO4/cloudreve/pkg/conf"
|
||||
"github.com/HFO4/cloudreve/routers/controllers"
|
||||
"github.com/gin-contrib/cors"
|
||||
"github.com/gin-contrib/pprof"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
// InitRouter 初始化路由
|
||||
func InitRouter() *gin.Engine {
|
||||
r := gin.Default()
|
||||
pprof.Register(r)
|
||||
|
||||
/*
|
||||
中间件
|
||||
|
||||
Reference in new issue
Block a user