change v2rayServer to clashServer, and complete limit for sing

This commit is contained in:
yuzuki999
2023-08-04 23:25:27 +08:00
parent c61b4155ce
commit e93706445f
2 changed files with 96 additions and 34 deletions

View File

@@ -129,7 +129,7 @@ func New(c *conf.CoreConfig) (vCore.Core, error) {
if err != nil {
return nil, E.Cause(err, "create v2ray api server")
}
router.SetV2RayServer(server)
router.SetClashServer(server)
return &Box{
router: router,
inbounds: inMap,