diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-12-27 13:23:16 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-12-27 13:50:23 +0200 |
| commit | 8bd7c65290af536307914b200bdb11cd527c64fd (patch) | |
| tree | b26f137f1bdf3b139b898ee3b1e92b70a0f678b9 /update-linklog-json.sh | |
| parent | 3e56647cf96dee4f5009cf8a813668e23230eefc (diff) | |
Update style
Diffstat (limited to 'update-linklog-json.sh')
| -rwxr-xr-x | update-linklog-json.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/update-linklog-json.sh b/update-linklog-json.sh new file mode 100755 index 0000000..b4261cb --- /dev/null +++ b/update-linklog-json.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +curl -v -H Accept:'application/json' -H "Authorization: Bearer $LNHT_TOKEN" https://api.ln.ht/v1/posts/recent -o linklog.json |
