feat(wopi): edit WOPI related settings
This commit is contained in:
parent
9ad2c3508f
commit
f7fdf10d70
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,7 @@ import (
|
|||
"github.com/cloudreve/Cloudreve/v3/pkg/email"
|
||||
"github.com/cloudreve/Cloudreve/v3/pkg/request"
|
||||
"github.com/cloudreve/Cloudreve/v3/pkg/serializer"
|
||||
"github.com/cloudreve/Cloudreve/v3/pkg/wopi"
|
||||
"github.com/cloudreve/Cloudreve/v3/service/admin"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
@ -79,6 +80,8 @@ func AdminReloadService(c *gin.Context) {
|
|||
email.Init()
|
||||
case "aria2":
|
||||
aria2.Init(true, cluster.Default, mq.GlobalMQ)
|
||||
case "wopi":
|
||||
wopi.Init()
|
||||
}
|
||||
|
||||
c.JSON(200, serializer.Response{})
|
||||
|
|
Loading…
Add table
Reference in a new issue