diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 7166e95..17ca95a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -60,4 +60,4 @@ jobs: run: | cd ~/.vmodules # v -stats test vibe - v run vibe/src/_tests_get_test.v + v -stats test vibe/src/_tests_get_test.v diff --git a/src/_instructions_common.v b/src/_instructions_common.v index 7c2e733..6ff38a9 100644 --- a/src/_instructions_common.v +++ b/src/_instructions_common.v @@ -26,6 +26,10 @@ fn (req Request) set_common_opts(h &curl.Handle, url string, resp &VibeResponse) if req.timeout > 0 { curl.easy_setopt(h, .timeout_ms, req.timeout.milliseconds()) } + $if windows { + curl.easy_setopt(h, .ssl_verifypeer, 0) + curl.easy_setopt(h, .ssl_verifyhost, 0) + } curl.easy_setopt(h, .url, url) curl.easy_setopt(h, .header, 1) curl.easy_setopt(h, .headerdata, resp)