mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
feat(middleware): add middleware to attach default response headers (#824)
This commit is contained in:
@ -24,6 +24,3 @@ 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