♻️ Container 常量化

This commit is contained in:
Liang Ding 2022-08-31 12:25:55 +08:00
parent 379e27aefe
commit 7f9c598061
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
7 changed files with 17 additions and 10 deletions

View file

@ -82,7 +82,7 @@ func html2BlockDOM(c *gin.Context) {
n.Unlink()
}
if "std" == model.Conf.System.Container {
if util.ContainerStd == model.Conf.System.Container {
// 处理本地资源文件复制
ast.Walk(tree.Root, func(n *ast.Node, entering bool) ast.WalkStatus {
if !entering || ast.NodeLinkDest != n.Type {