1
mirror of https://github.com/jakejarvis/simpip.git synced 2025-06-27 16:15:41 -04:00

charset=utf-8

This commit is contained in:
2019-09-09 22:31:37 -04:00
parent b9bbf95b61
commit f6ac5292f7

View File

@ -5,7 +5,7 @@ addEventListener('fetch', event => {
async function handle(request) { async function handle(request) {
const url = new URL(request.url); const url = new URL(request.url);
let customHeaders = { let customHeaders = {
"Content-Type": "text/plain", "Content-Type": "text/plain; charset=utf-8",
"Content-Security-Policy": "default-src 'none';", "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'", "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-Content-Type-Options": "nosniff",