Bugeez
Bugeez
CDCloudflare Developers
Created by Bugeez on 5/16/2024 in #pages-help
Can't import my env in my Function in Astro
For the first Version i've got this error :
Cannot read properties of undefined (reading 'get')
Cannot read properties of undefined (reading 'get')
And with the
context.locals.runtime.env.TEST
context.locals.runtime.env.TEST
: It worked ! Thx so much !
10 replies
CDCloudflare Developers
Created by Bugeez on 5/16/2024 in #pages-help
Can't import my env in my Function in Astro
I was trying like this cuz i can't import the variable that i've set up in my Worker & Pages section
10 replies
CDCloudflare Developers
Created by Bugeez on 5/16/2024 in #pages-help
Can't import my env in my Function in Astro
Yes, I've defined it in my KV namespaces Binding looking for my KV namespace
10 replies
CDCloudflare Developers
Created by Bugeez on 5/16/2024 in #pages-help
Can't import my env in my Function in Astro
Yes in the dashboard
10 replies