mirror of
https://github.com/jakejarvis/simpip.git
synced 2025-06-27 16:15:41 -04:00
Update X-Did-You-Know header to show curl examples instead of old subdomains
This commit is contained in:
2
index.js
2
index.js
@ -16,7 +16,7 @@ async function handle(request) {
|
|||||||
"Cache-Control": "max-age=0, no-cache, no-store, must-revalidate",
|
"Cache-Control": "max-age=0, no-cache, no-store, must-revalidate",
|
||||||
"Pragma": "no-cache",
|
"Pragma": "no-cache",
|
||||||
"Expires": "Wed, 11 Jan 1984 05:00:00 GMT",
|
"Expires": "Wed, 11 Jan 1984 05:00:00 GMT",
|
||||||
"X-Did-You-Know": "You can visit ipv4.simpip.com or ipv6.simpip.com to get either address!"
|
"X-Did-You-Know": "You can use \"curl -4 simpip.com\" or \"curl -6 simpip.com\" to get either address!"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user