mirror of https://github.com/schollz/cowyo.git
parent
9248892668
commit
6e1c85e205
2
page.go
2
page.go
|
@ -87,7 +87,7 @@ func (p *Page) Save() error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return ioutil.WriteFile(path.Join(pathToData, encodeToBase32(strings.ToLower(p.Name))+".json"), bJSON, 0755)
|
||||
return ioutil.WriteFile(path.Join(pathToData, encodeToBase32(strings.ToLower(p.Name))+".json"), bJSON, 0644)
|
||||
}
|
||||
|
||||
func (p *Page) Erase() error {
|
||||
|
|
Loading…
Reference in New Issue