From 31320ee78b0551c85f81987a87447368681199cf Mon Sep 17 00:00:00 2001 From: Thomas Timmer Date: Wed, 15 Mar 2023 13:37:11 +0100 Subject: [PATCH] fix: add cors to allowed_subresources --- lib/ex_aws/auth.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ex_aws/auth.ex b/lib/ex_aws/auth.ex index 8be19f98..2fe1701e 100644 --- a/lib/ex_aws/auth.ex +++ b/lib/ex_aws/auth.ex @@ -7,7 +7,7 @@ defmodule ExAws.Auth do @moduledoc false - @allowed_subresources ~w(acl lifecycle location logging notification partNumber policy requestPayment uploadId uploads versionId versioning versions website) + @allowed_subresources ~w(acl cors lifecycle location logging notification partNumber policy requestPayment uploadId uploads versionId versioning versions website) @unsignable_headers ["x-amzn-trace-id"] @unsignable_headers_multi_case ["x-amzn-trace-id", "X-Amzn-Trace-Id"]