Browse Source

feat: 暂时删除 xpack 相关代码 (#3519)

pull/3526/head
zhengkunwang 11 months ago committed by GitHub
parent
commit
9713b32ba8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      backend/router/entry_xpack.go
  2. 9
      backend/server/init_xpack.go

11
backend/router/entry_xpack.go

@ -1,11 +0,0 @@
//go:build xpack
package router
import "github.com/1Panel-dev/1Panel/backend/xpack/router"
func RouterGroups() []CommonRouter {
return append(commonGroups(), []CommonRouter{&router.WafRouter{}}...)
}
var RouterGroupApp = RouterGroups()

9
backend/server/init_xpack.go

@ -1,9 +0,0 @@
//go:build xpack
package server
import "github.com/1Panel-dev/1Panel/backend/xpack"
func InitOthers() {
xpack.InitXpack()
}
Loading…
Cancel
Save