add security response HTTP headers if not present
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
e4e1636da8
commit
d4d9f92ade
3 changed files with 36 additions and 2 deletions
|
@ -25,7 +25,7 @@ use crate::{
|
|||
const MXC_LENGTH: usize = 32;
|
||||
|
||||
/// Cache control for immutable objects
|
||||
const CACHE_CONTROL_IMMUTABLE: &str = "public, max-age=31536000, immutable";
|
||||
const CACHE_CONTROL_IMMUTABLE: &str = "public,max-age=31536000,immutable";
|
||||
|
||||
const CORP_CROSS_ORIGIN: &str = "cross-origin";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue