forked from jriou/coller
feat: Add copier and curl links
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
2d8d7efbcb
commit
b316c6ef67
4 changed files with 77 additions and 3 deletions
|
@ -119,7 +119,7 @@ func handleMain() int {
|
|||
var req *http.Request
|
||||
if *password != "" {
|
||||
body := &NotePayload{
|
||||
Password: *password,
|
||||
Password: internal.Encode([]byte(*password)),
|
||||
}
|
||||
payload, err := json.Marshal(body)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue