Soly
Soly
CDCloudflare Developers
Created by Soly on 11/12/2024 in #pages-help
How do I read environment variables from a SvelteKit website?
I was testing on a preview branch
11 replies
CDCloudflare Developers
Created by Soly on 11/12/2024 in #pages-help
How do I read environment variables from a SvelteKit website?
environment variables only apply to prod😭
11 replies
CDCloudflare Developers
Created by Soly on 11/12/2024 in #pages-help
How do I read environment variables from a SvelteKit website?
my god
11 replies
CDCloudflare Developers
Created by Soly on 11/12/2024 in #pages-help
How do I read environment variables from a SvelteKit website?
oh
11 replies
CDCloudflare Developers
Created by Soly on 11/12/2024 in #pages-help
How do I read environment variables from a SvelteKit website?
nvm, tried switching the secret to a plaintext env variable just to test, and still nothing :(
11 replies
CDCloudflare Developers
Created by Soly on 11/12/2024 in #pages-help
How do I read environment variables from a SvelteKit website?
reading the value of WorkersAPIKey at runtime with a console.log spits out null
11 replies
CDCloudflare Developers
Created by Soly on 11/12/2024 in #pages-help
How do I read environment variables from a SvelteKit website?
heya, thanks for the help! it now builds successfully, but I don't believe my app can access my api key as the page relying on it won't work. everything works fine in a local server. is there something specific I need to do with cloudflare secrets?
11 replies