From 747ded460a1c90201b483d718c8de8e9f88648d1 Mon Sep 17 00:00:00 2001 From: woon Date: Sat, 11 Mar 2023 15:44:04 +0800 Subject: [PATCH] update --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 04c0fcb..6753fd9 100644 --- a/main.go +++ b/main.go @@ -85,7 +85,7 @@ func listDir(dir string) ([]FileInfo, error) { } Href := filepath.Join(dir, name) - Href = strings.Replace(Href, filepath.Join(rootPath), "", -1) + //Href = strings.Replace(Href, filepath.Join(rootPath), "", -1) size := fileInfo.Size() formattedSize := formatFileSize(size)