My wrangler.toml looks like this: ``` name = "foo" pages_build_output_dir = "dist" compatibility_d

My wrangler.toml looks like this:

name = "foo"
pages_build_output_dir = "dist"

compatibility_date = "2024-05-24"
compatibility_flags = []

[[ d1_databases ]]
binding = "DB"
database_name = "foo-prod"
database_id = "76286726-324-434-434-343434"
migrations_dir = "server/db/migrations"

[ env.production.vars ]
SITE = "foo.com"


When I deploy my pages project in the dashboard I see There are no variables defined for this environment. and I can't add it (the button is disabled because I use the .toml file). What am I doing wrong?
Was this page helpful?