Replies: 1 comment 8 replies
-
Hello Frank, Can you tell me what it is that's missing from Vercel Environment Variables that would stop you achieving the desired behavior? We recently updated them to provide support for multiple environments. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently we can specify a
now.json
orvercel.json
at the root of the project to support "multi-zone" setup via proxy. The problem with this is we can only have 1 version of this file. This forces us to proxy to the same destination regardless whether this is a production deploy or a preview (or staging type) deploy.Based on how Vercel's environment variables work, I'd like to propose to have something similar:
now.[deploy-type].json
e.g.now.production.json
for production andnow.preview.json
for preview, and finallynow.development.json
when runningnow dev
now.json
orvercel.json
also exists, we would merge the contents similar to how environments work.What do you guys think?
Frank
Beta Was this translation helpful? Give feedback.
All reactions