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

Access-Control headers

This commit is contained in:
2019-09-15 08:39:13 -04:00
parent 1f526e5bcd
commit e799bc5c75

View File

@ -10,6 +10,8 @@ async function handle(request) {
"Pragma": "no-cache",
"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",
"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"
}