1
mirror of https://github.com/jakejarvis/simpip.git synced 2025-06-27 13:55:42 -04:00

add X-Content-Type-Options header manually

This commit is contained in:
2019-10-19 17:25:07 -04:00
parent dabcef30a6
commit 36f3c27ebd

View File

@ -11,7 +11,8 @@ async function handle(request) {
"Expires": "Thu, 01 Jan 1970 00:00:01 GMT",
"Content-Security-Policy": "default-src 'none';",
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, OPTIONS",
"Access-Control-Allow-Methods": "GET, HEAD, OPTIONS",
"X-Content-Type-Options": "nosniff",
"X-Did-You-Know": "You can use \"curl -4 simpip.com\" or \"curl -6 simpip.com\" to get either address!",
"X-Source-Code": "https://github.com/jakejarvis/simpip"
}