env.esq/netlify/functions/hello-world.js

11 lines
255 B
JavaScript
Raw Normal View History

2023-06-02 23:18:02 +02:00
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}`,
};
};