Is there a way to disable preview deployment links for the production branch (main) as well? I am familiar with disabling that for pull requests, or setting up an authentication for pull requests. But I am hoping to do either of that for the production branch as well.
Preview links generated for production branch are public and don’t require any form of authentication, which is what I am trying to move away from.
Hi @aruns, I don’t think you can turn off auto-generated URLs for even the production branch. May I know what is the use case for it because the production branch is supposed to be exposed publicly by the static or custom domain?
You may find more details in this discussion we had previously about the same topic.
I had the same need as @suituxr on the other thread: to protect my production application using Cloudflare Access, which does not apply to Vercel-generated domains:
That’s why I would like to disable deployment preview URLs for the production branch. I am not talking about non-production branch because they are already protected by my Vercel authentication requirement: