There was an error while loading. Please reload this page.
1 parent b275564 commit 23d465bCopy full SHA for 23d465b
1 file changed
.github/workflows/context7-refresh.yml
@@ -44,7 +44,7 @@ jobs:
44
45
body_file="$(mktemp)"
46
trap 'rm -f "$body_file"' EXIT
47
- status="$(curl -sS -o "$body_file" -w "%{http_code}" -X POST "https://context7.com/api/v1/refresh" \
+ status="$(curl --connect-timeout 10 --max-time 30 --proto '=https' -sS --tlsv1.2 -o "$body_file" -w "%{http_code}" -X POST "https://context7.com/api/v1/refresh" \
48
-H "Content-Type: application/json" \
49
-H "Authorization: Bearer ${CONTEXT7_API_KEY}" \
50
-d '{"libraryName": "/xquik-dev/x-twitter-scraper-java"}')"
0 commit comments