Can I add my own defined variables to the env file?
Can I add my own defined variables to the env file?
https://" in front of that example.com, exactly as it shows it says in the example below the input field.*" therefore is useless, and that the "URI Full" will never be functional, according to your example./api/" though./api/", instead of the "URI Full", according to your screenshot, assuming that you with the Configuration Rule is looking to exclude "/api/" from the normal effect of the given Configuration Rule./api/" (e.g. the opposite way around), you would need to use "starts with" instead of "does not start with".How does this prevent a bot from doing a direct POST to my endpoint?
Logger that collects logs and then at the end of the request I do ctx.waitUntil(logger.flush()) will another global Logger be re-created on the next request or can the same instance be reused with another request?https://<your-team-name>.cloudflareaccess.com/cdn-cgi/access/get-identity have?email fieldexport async function onRequest(context) {
const myVar = constext.env.[your-envirment-variable];
console.log("myvar = '${myVar}'");
// Note: I'm not sure the console will return value because of security settings. So you might need to do some trick to get pass that. So it might seem like nothing is returned if your logging it out. But if you combine it into an other object it should get around it so you can see it in the logs.
}[vars]
myVar = "somthing"export async function onRequest(context) {
const myVar = constext.env.[your-envirment-variable];
console.log("myvar = '${myVar}'");
// Note: I'm not sure the console will return value because of security settings. So you might need to do some trick to get pass that. So it might seem like nothing is returned if your logging it out. But if you combine it into an other object it should get around it so you can see it in the logs.
}[vars]
myVar = "somthing"