Skip to content

Commit

Permalink
fix(#69): change http version to HTTP/2
Browse files Browse the repository at this point in the history
  • Loading branch information
kawre committed Mar 14, 2024
1 parent 05d4153 commit 765cc76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/leetcode/api/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ function utils.curl(method, params)
compressed = false,
retry = 5,
endpoint = urls.base,
http_version = "HTTP/2",
}, params or {})
local url = ("https://leetcode.%s%s"):format(config.domain, params.endpoint)

Expand Down

0 comments on commit 765cc76

Please sign in to comment.