[change] Replace adminRoot name
This commit is contained in:
parent
937e2033ad
commit
1921e5982d
1 changed files with 5 additions and 5 deletions
|
|
@ -539,12 +539,12 @@ func (dsl *DSL) replaceAdminRoot() error {
|
|||
|
||||
root := strings.TrimPrefix(dsl.AdminRoot, "/")
|
||||
root = strings.TrimSuffix(root, "/")
|
||||
err := data.ReplaceXGen("/__yao_admin_root/", fmt.Sprintf("/%s/", root))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
// err := data.ReplaceXGen("/__yao_admin_root/", fmt.Sprintf("/%s/", root))
|
||||
// if err != nil {
|
||||
// return err
|
||||
// }
|
||||
|
||||
return data.ReplaceXGen("\"__yao_admin_root\"", fmt.Sprintf("\"%s\"", root))
|
||||
return data.ReplaceXGen("__yao_admin_root", root)
|
||||
}
|
||||
|
||||
// icons
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue