Skip to content

Commit

Permalink
fix: disable certificate verification
Browse files Browse the repository at this point in the history
Closes: #204
  • Loading branch information
ColinRgm committed Jan 21, 2025
1 parent d3be701 commit 6a508fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: test login with admin return token
run: |
sleep 10
export TOKEN=$(curl -X POST -H "Content-Type: application/json" -d '{"username": "admin", "password": "admin"}' http://localhost/php/login | jq ".token")
export TOKEN=$(curl -X POST -k -H "Content-Type: application/json" -d '{"username": "admin", "password": "admin"}' https://localhost/php/login | jq ".token")
if [ "$TOKEN" == "null" ] || [ -z "$TOKEN" ]; then
echo "token is empty"
exit 1
Expand Down

0 comments on commit 6a508fe

Please sign in to comment.