Skip to content

Commit 46dff10

Browse files
committed
fix: remove --noproxy for curl requests
1 parent 607f5ba commit 46dff10

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

lua/opencode/curl.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ local function build_curl_args(opts)
2626
if opts.proxy and opts.proxy ~= '' then
2727
table.insert(args, '--proxy')
2828
table.insert(args, opts.proxy)
29-
elseif opts.proxy == '' then
30-
table.insert(args, '--noproxy')
31-
table.insert(args, '*')
3229
end
3330

3431
if opts.timeout then

0 commit comments

Comments
 (0)