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 #25 from jackyzha0/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 authored Jul 31, 2022
2 parents 23e6c5d + d3f5261 commit bd1c737
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, "public", "linkmap")
fp := path.Join(root, "static", "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 bd1c737

Please sign in to comment.