mirror of
https://github.com/versity/versitygw.git
synced 2026-02-08 11:20:08 +00:00
In the refactor for being able to set global CORS headers, the options router was incorrectly set to use both CORS middlewares casuing duplicate headers to be set. The ApplyBucketCORS() middleware is not needed for options since this is already handled by the CORSOoptions controller. Fixes #1819