diff --git a/index.js b/index.js index 786c9d3..57864b8 100644 --- a/index.js +++ b/index.js @@ -6,15 +6,10 @@ async function handle(request) { const url = new URL(request.url); let customHeaders = { "Content-Type": "text/plain; charset=utf-8", - "Content-Security-Policy": "default-src 'none';", - "Feature-Policy": "accelerometer 'none'; camera 'none'; geolocation 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; sync-xhr 'none'; payment 'none'; usb 'none'; vr 'none'", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", - "X-Frame-Options": "SAMEORIGIN", - "Referrer-Policy": "no-referrer", "Cache-Control": "max-age=0, no-cache, no-store, must-revalidate", "Pragma": "no-cache", "Expires": "Thu, 01 Jan 1970 00:00:01 GMT", + "Content-Security-Policy": "default-src 'none';", "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" }