I want to change "preview" and "production".

I am currently trying to deploy about remix app in cloudflare pages. I am using “wrangler deploy” to do so. Somewhere along the line, the deploy destination was treated as “preview” and not as “production”. How can I switch between “preview” and “production” when using “wrangler deploy”? I want to change this page (preview) -> https://0359d43d.kotoriforblog.pages.dev
New Remix App
Welcome to Remix on Cloudflare!
2 Replies
Erisa
Erisa5mo ago
For direct upload projects you need to change it using the API, instructions here: https://developers.cloudflare.com/pages/configuration/branch-build-controls/#production-branch-control
kotorigasatori
kotorigasatoriOP5mo ago
thank you for your support.
Want results from more Discord servers?
Add your server