mirror of
https://github.com/arnaucube/padArchiver.git
synced 2026-02-07 03:36:49 +01:00
added build, and added side menu to webserver
This commit is contained in:
@@ -15,6 +15,11 @@
|
||||
"link": "http://board.net/p/pad3",
|
||||
"dir": "Group2",
|
||||
"title": "Pad3"
|
||||
},
|
||||
{
|
||||
"link": "http://board.net/p/loremipsum",
|
||||
"dir": "SubArea1",
|
||||
"title": "loremipsum"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -58,7 +58,7 @@ func main() {
|
||||
fmt.Println(" link: " + pad.Link)
|
||||
fmt.Println(" dir: " + pad.Dir)
|
||||
fmt.Println(" title: " + pad.Title)
|
||||
ipfsHash, err := repo.StorePad(pad.Link, pad.Dir, pad.Title)
|
||||
ipfsHash, err := repo.StorePad(pad.Link, pad.Dir, pad.Title, false)
|
||||
check(err)
|
||||
fmt.Println(" ipfs hash: " + ipfsHash)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user