1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-27 14:12:09 +00:00

Support custom timeout

This commit is contained in:
Rohan Kumar 2023-11-25 12:59:38 -08:00
parent d7f5ce4010
commit 074620f70e
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -1,3 +1,3 @@
#!/bin/sh
# a curl wrapper for seirdy.one
curl --proto "=https" --tlsv1.3 --cert-status -sS -m10 "$@"
curl --proto "=https" --tlsv1.3 --cert-status -sS -m${SEIRDYONE_CURL_TIMEOUT-10} "$@"