From f18a73482c6673160ab86542af42c1680aad9de8 Mon Sep 17 00:00:00 2001 From: matthieugouel Date: Wed, 25 Dec 2024 17:32:15 +0100 Subject: [PATCH] fix failing tests --- main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main_test.go b/main_test.go index 2abd57ed..d8d3b76f 100644 --- a/main_test.go +++ b/main_test.go @@ -909,7 +909,7 @@ func TestServe(t *testing.T) { t.Fatalf("unexpected status code: %d; expected: %d", resp.StatusCode, http.StatusOK) } defer resp.Body.Close() - checkHeader(t, resp, "Access-Control-Allow-Origin", "") + checkHeader(t, resp, "Access-Control-Allow-Origin", "*") }, startHTTP, },