diff --git a/.env-example b/.env-example new file mode 100644 index 0000000..d48d0bf --- /dev/null +++ b/.env-example @@ -0,0 +1,2 @@ +UserToken='***' +TargetInstance='***' diff --git a/main.sh b/main.sh index 73b2225..689d378 100755 --- a/main.sh +++ b/main.sh @@ -11,7 +11,7 @@ result=$(curl -X POST \ -H "Authorization: Bearer ${Authorization}" \ -H "Idempotency-Key: ${IdempotencyKey}" \ -d "status=${status}" \ - "https://mastodon.giftedmc.com/api/v1/statuses") # HTTP/1.1 + "${TargetInstance}/api/v1/statuses") # HTTP/1.1 echo "${result}"