Kilisei
Kilisei
CDCloudflare Developers
Created by Kilisei on 3/21/2024 in #workers-help
Turnstile setting secret via env
Hello i have question about this i have turnstile and want to set the secret via context.env and this code throws 1101 whats the right way of doing this?
export const onRequest = [
(context) => {
return turnstilePlugin({
secret: context.env.SECRET,
});
},
...otherplugins or function
]
export const onRequest = [
(context) => {
return turnstilePlugin({
secret: context.env.SECRET,
});
},
...otherplugins or function
]
1 replies