We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fa8a70 commit cee1049Copy full SHA for cee1049
api/index.js
@@ -39,7 +39,10 @@ fi`;
39
const handler = (request, response) => {
40
const { address } = request.query;
41
42
+ const one_month = 60 * 60 * 24 * 30;
43
+
44
response.setHeader('Content-Type', 'text/plain');
45
+ response.setHeader('Cache-Control', `s-maxage=${one_month}`); // Cache at edge
46
response.send(reverseShell(address));
47
};
48
0 commit comments