function getEnvVars (req, res) {
	const obj = getEnvVarsAsObj();
	res.send(obj);
}
Gets environment variables needed in the browser.
@param {Request} req - the request
@param {Response} res - the result