blob: 60c4fe52fe6ea795d06afc0f12fc24288e9234b8 [file] [log] [blame]
/**
* HTTP Cloud Function for testing environment variable Secrets.
*/
exports.echoSecret = (req, res) => {
let message = req.query.message || req.body.message || "Secret: " + process.env.MY_SECRET;
res.status(200).send(message);
};