getEnvVars = async function () {
		const res = await fetch(`${location.protocol}//${location.host}${config.basePath}env`);
		return JSON.parse(await res.text());
	}
Retrieve object of env variables.
@returns {object} with key: values as assembled in js/server_functions.js