Not tried it myself but at a guess you can use a "Rewrite URL" transform rule to answer the `OPTIONS

Not tried it myself but at a guess you can use a "Rewrite URL" transform rule to answer the
OPTIONS
method with a specific path that returns nothing (empty object on the bucket?) and then alongside it a "Modify Response Header" rule to add the CORS header to
OPTIONS
method requests
Was this page helpful?