grab-url 0.9.141 → 0.9.142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/grab-url-cli.js +1 -1
package/package.json
CHANGED
package/src/grab-url-cli.js
CHANGED
|
@@ -293,7 +293,7 @@ async checkServerSupport(url) {
|
|
|
293
293
|
try {
|
|
294
294
|
// Create a timeout controller
|
|
295
295
|
const timeoutController = new AbortController();
|
|
296
|
-
const timeoutId = setTimeout(() => timeoutController.abort(),
|
|
296
|
+
const timeoutId = setTimeout(() => timeoutController.abort(), 3000); // 3 second timeout
|
|
297
297
|
|
|
298
298
|
const response = await fetch(url, {
|
|
299
299
|
method: 'HEAD',
|