mirror of
https://github.com/arnaucube/padArchiver.git
synced 2026-02-06 19:26:48 +01:00
added build, and added side menu to webserver
This commit is contained in:
Binary file not shown.
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user