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
+1 -1
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++