0.2.1
Vapor Security Headers 0.2.1
This release adds the ability to set a referrer policy on the API Security Headers. The use case for this is for those use the API headers for a server that is using a React front-end with a single page.
The referrer policy can be set with:
let referrerConfig = ReferrerPolicyConfiguration(.strictOrigin)
let securityHeaders = SecurityHeaders.api(referrerPolicyConfiguration: referrerConfig)