1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-30 18:59:22 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2022-01-23 17:07:39 +08:00
parent 5562c45a26
commit b4e95f8dab

View File

@ -133,7 +133,7 @@ func init() {
mdb.HashSelect(m, arg...).Table(func(index int, value map[string]string, head []string) {
m.PushAnchor(m.MergeURL2(value[nfs.PATH]))
})
if m.Length() == 0 {
if m.Length() == 0 && len(arg) > 0 {
m.Push(mdb.TEXT, m.Cmdx(nfs.CAT, path.Join("src/website", path.Join(arg...))))
m.Push(nfs.PATH, path.Join("/chat/website/", path.Join(arg...)))
} else {