From ef8b49f7f4ce83c7572d014f62d9762b6fce40ae Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Sun, 31 Jul 2022 12:23:01 -0700 Subject: [PATCH] fix: move linkmap to public for proper copying --- write.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/write.go b/write.go index f258c6f..7db714e 100644 --- a/write.go +++ b/write.go @@ -50,7 +50,7 @@ func write(links []Link, contentIndex ContentIndex, toIndex bool, out string, ro } func writeLinkMap(contentIndex *ContentIndex, root string) error { - fp := path.Join(root, "linkmap") + fp := path.Join(root, "public", "linkmap") file, err := os.OpenFile(fp, os.O_TRUNC|os.O_CREATE|os.O_WRONLY, 0644) if err != nil { return err