Why I am not getting --env="dev" env deployed?

Hi there,

I am using Cloudflare Workers with TanStack Start.

This is my wrangler.jsonc:
{
  "$schema": "node_modules/wrangler/config-schema.json",
  "compatibility_date": "2025-12-03",
  "compatibility_flags": ["nodejs_compat"],
  "main": "@tanstack/react-start/server-entry",
  "observability": {
    "enabled": true
  },
  "env": {
    "prod": {
      "name": "quickdataconverter-prod",
      "workers_dev": true,
      "vars": {
        "VITE_BASE_URL": "https://quickdataconverter-prod.itsithu.workers.dev"
      }
    },
    "dev": {
      "name": "quickdataconverter-dev",
      "workers_dev": true,
      "vars": {
        "VITE_BASE_URL": "https://quickdataconverter-dev.itsithu.workers.dev"
      }
    }
  }
}


I deployed the dev env like this:
bun run build && bunx wrangler deploy --env='dev'


It get deployed to https://quickdataconverter.itsithu.workers.dev, why not https://quickdataconverter-dev.itsithu.workers.dev?

I mean it is also for prod env.
Was this page helpful?