We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b90fbb commit 16d58edCopy full SHA for 16d58ed
public/.well-known/security.txt
@@ -0,0 +1,2 @@
1
+Contact: https://crates.io/policies/security
2
+Expires: 2025-06-25T00:00:00.000Z
src/middleware/common_headers.rs
@@ -23,11 +23,12 @@ pub async fn add_common_headers(
23
24
let path = request.uri().path();
25
26
- const STATIC_FILES: [&str; 4] = [
+ const STATIC_FILES: [&str; 5] = [
27
"/github-redirect.html",
28
"/favicon.ico",
29
"/robots.txt",
30
"/opensearch.xml",
31
+ "/.well-known/security.txt",
32
];
33
if STATIC_FILES.contains(&path) {
34
expires(&mut headers, ONE_DAY);
0 commit comments