Skip to content

Commit 765cc76

Browse files
committed
fix(#69): change http version to HTTP/2
1 parent 05d4153 commit 765cc76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/leetcode/api/utils.lua

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ function utils.curl(method, params)
6060
compressed = false,
6161
retry = 5,
6262
endpoint = urls.base,
63+
http_version = "HTTP/2",
6364
}, params or {})
6465
local url = ("https://leetcode.%s%s"):format(config.domain, params.endpoint)
6566

0 commit comments

Comments
 (0)