From 48f9ff3255fc69b68c885fcbf3ca34384aabe730 Mon Sep 17 00:00:00 2001 From: shylinux Date: Sun, 12 Mar 2023 09:11:59 +0800 Subject: [PATCH] opt some --- base/nfs/cat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/nfs/cat.go b/base/nfs/cat.go index 968d5cef..df509c0f 100644 --- a/base/nfs/cat.go +++ b/base/nfs/cat.go @@ -170,5 +170,5 @@ func Template(m *ice.Message, file string, arg ...ice.Any) string { return kit.Renders(kit.Format(TemplateText(m, file), arg...), m) } func TemplateText(m *ice.Message, file string) string { - return m.Cmdx(CAT, path.Join(ice.SRC_TEMPLATE, m.PrefixKey(), path.Base(file))) + return m.Cmdx(CAT, path.Join(m.PrefixKey(), path.Base(file)), kit.Dict(DIR_ROOT, ice.SRC_TEMPLATE)) }