added build, and added side menu to webserver

This commit is contained in:
arnaucode
2018-04-15 14:20:15 +02:00
parent 3e0ef09e55
commit 9bd5a48bcc
23 changed files with 266 additions and 122 deletions

Binary file not shown.

View File

@@ -89,7 +89,7 @@ func PostStorePad(w http.ResponseWriter, r *http.Request) {
}
defer r.Body.Close()
ipfsHash, err := repo.StorePad(pad.Link, pad.Dir, pad.Title)
ipfsHash, err := repo.StorePad(pad.Link, pad.Dir, pad.Title, true)
if err != nil {
http.Error(w, "error storing pad", http.StatusConflict)
}