You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a custom application for commercetools merchant centre and deployed it on vercel. I am using a .env file for localhost and vercel environment variables for the deployed version.
Now my issue is that the deployed version is not working if my github repo-main branch does not contain the same .env file even though the application is able to pull data from the vercel environment variables.
I am using useApplicationContext for pulling each variable from .env file. I am defining variables in custom-application-config.mjs file inside additionalEnv object like this :
`additionalEnv: {
I created a custom application for commercetools merchant centre and deployed it on vercel. I am using a .env file for localhost and vercel environment variables for the deployed version.
Now my issue is that the deployed version is not working if my github repo-main branch does not contain the same .env file even though the application is able to pull data from the vercel environment variables.
I am using useApplicationContext for pulling each variable from .env file. I am defining variables in custom-application-config.mjs file inside additionalEnv object like this :
`additionalEnv: {
},`
I don't want to push my .env file to main branch or the github repo at all, but the application is not working without it.
The text was updated successfully, but these errors were encountered: