diff --git a/.bin/get-anki-decks b/.bin/get-anki-decks index b576cea..cf262b1 100755 --- a/.bin/get-anki-decks +++ b/.bin/get-anki-decks @@ -1,3 +1,3 @@ #!/usr/bin/env bash -curl localhost:8765 -X POST -d '{"action": "deckNames", "version": 6}' | jq '.result[]' -r +curl 127.0.0.1:8765 -X POST -d '{"action": "deckNames", "version": 6}' | jq '.result[]' -r diff --git a/.bin/sb-anki b/.bin/sb-anki index 96919ca..e0a57eb 100755 --- a/.bin/sb-anki +++ b/.bin/sb-anki @@ -5,7 +5,7 @@ num_to_review=200 # Get current card count from Anki -count=$(curl -s localhost:8765 -X POST -d '{"action": "getNumCardsReviewedToday", "version": 6}' | jq '.result') +count=$(curl -s 127.0.0.1:8765 -X POST -d '{"action": "getNumCardsReviewedToday", "version": 6}' | jq '.result') if [ -z "$count" ] then