feat(wopi): edit WOPI related settings

pull/1626/head
HFO4 2 years ago
parent 9ad2c3508f
commit f7fdf10d70

@ -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…
Cancel
Save