You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Considering this tool's purpose is to upload static assets to s3, why are we setting the lifetime of the CORS preflight to zero? Why not cache it forever?
The text was updated successfully, but these errors were encountered:
Current behavior (if any)
CORS policy sets max age to zero: https://github.com/fernando-mc/serverless-finch/blob/master/lib/resources/CORSPolicy.json#L7
Proposed behavior
Longer or customizable max-age value
Justification
Considering this tool's purpose is to upload static assets to s3, why are we setting the lifetime of the CORS preflight to zero? Why not cache it forever?
The text was updated successfully, but these errors were encountered: