ci/test.sh: update api endpoint

This commit is contained in:
wukko 2024-08-03 21:51:46 +06:00
parent 3bd1a00855
commit edbea16b91
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

4
.github/test.sh vendored
View file

@ -13,8 +13,8 @@ waitport() {
test_api() {
waitport 3000
curl -m 3 http://localhost:3000/api/serverInfo
API_RESPONSE=$(curl -m 3 http://localhost:3000/api/json \
curl -m 3 http://localhost:3000/
API_RESPONSE=$(curl -m 3 http://localhost:3000/ \
-X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \