There was an error while loading. Please reload this page.
1 parent 74c6adf commit 4590112Copy full SHA for 4590112
1 file changed
.github/workflows/context7-refresh.yml
@@ -38,7 +38,7 @@ jobs:
38
39
body_file="$(mktemp)"
40
trap 'rm -f "$body_file"' EXIT
41
- 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" \
42
-H "Content-Type: application/json" \
43
-H "Authorization: Bearer ${CONTEXT7_API_KEY}" \
44
-d '{"libraryName": "/xquik-dev/x-twitter-scraper-typescript"}')"
0 commit comments