mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat: Add HSTS headers to response (#725)
This commit is contained in:
@ -24,3 +24,6 @@ pub(crate) const BASE64_ENGINE_URL_SAFE: base64::engine::GeneralPurpose =
|
||||
|
||||
pub(crate) const API_KEY_LENGTH: usize = 64;
|
||||
pub(crate) const PUB_SUB_CHANNEL: &str = "hyperswitch_invalidate";
|
||||
|
||||
/// Max age of 1 year in seconds. Which is `60*60*24*365`
|
||||
pub(crate) const HSTS_HEADER_VALUE: &str = "max-age=31536000";
|
||||
|
||||
Reference in New Issue
Block a user