'Updated .travis.yml'
This commit is contained in:
parent
6091a1af32
commit
91727d9e9e
1 changed files with 11 additions and 0 deletions
11
netlify/functions/hello-world.js
Normal file
11
netlify/functions/hello-world.js
Normal file
|
@ -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}`,
|
||||
};
|
||||
};
|
Loading…
Reference in a new issue