Replies: 1 comment 1 reply
-
env variables are exposed in export default defineConfig({
define: {
__SYSTEMENV__: JSON.stringify(process.env),
},
plugins: [sveltekit()],
}); At which point I could read env variables by accessing |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys!
I am deploying the application through docker and I have added all the required environment variables manually in google cloud run, but they aren't accessible in the deployed website. I have logged them in the front end and it is showing undefined.
Here is the docker file that I am using:
FYI, the docker is working fine locally and the environments are being read as well. It is just google cloud that isn't reading them.
Beta Was this translation helpful? Give feedback.
All reactions