From edbea16b91d507129423980ba24229a1067c55f7 Mon Sep 17 00:00:00 2001 From: wukko Date: Sat, 3 Aug 2024 21:51:46 +0600 Subject: [PATCH] ci/test.sh: update api endpoint --- .github/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/test.sh b/.github/test.sh index 4ae96541..c3bc1fb7 100755 --- a/.github/test.sh +++ b/.github/test.sh @@ -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" \