Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #24 from jackyzha0/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 authored Jul 31, 2022
2 parents 3c17ec3 + ef8b49f commit 23e6c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion write.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 23e6c5d

Please sign in to comment.