Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Commit

Permalink
Update openai.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
missuo authored Feb 9, 2023
1 parent f464793 commit edf4071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openai.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ echo "OpenAI Access Checker v0.0.1"
echo
if [[ $(curl -sS https://chat.openai.com/ -I | grep "text/plain") != "" ]]
then
echo "IP is Block"
echo "Your IP is BLOCKED!"
else
iso2_code=$(curl -sS https://chat.openai.com/cdn-cgi/trace | grep "loc=" | awk -F= '{print $2}')
if [[ "${SUPPORT_COUNTRY[@]}" =~ "${iso2_code}" ]];
Expand Down

0 comments on commit edf4071

Please sign in to comment.