Skip to content

Commit d1c2309

Browse files
committed
feat: forward opts to fetch opts
1 parent c847361 commit d1c2309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class Saturn {
5656

5757
let res
5858
try {
59-
res = await fetch(url, { signal: controller.signal })
59+
res = await fetch(url, { signal: controller.signal, ...options })
6060

6161
clearTimeout(connectTimeout)
6262

0 commit comments

Comments
 (0)