refactor(tree): replace string(/) with "/" in node.insertChild (#4354)

Co-authored-by: 1911860538 <alxps1911@gmail.com>
This commit is contained in:
Name 2025-09-19 08:35:34 +08:00 committed by GitHub
parent f9bd00a6b7
commit 9b1e3533e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -383,7 +383,7 @@ func (n *node) insertChild(path string, fullPath string, handlers HandlersChain)
}
n.addChild(child)
n.indices = string('/')
n.indices = "/"
n = child
n.priority++