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
]
0 Replies
No replies yetBe the first to reply to this messageJoin