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:
2
index.js
2
index.js
@ -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"
|
||||
}
|
||||
|
Reference in New Issue
Block a user