

wrangler pages deploy doesn't support custom config paths.wrangler pages dev?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?
production env, if I understood things correctly [[ d1_databases ]] applies to all environments, right?[[ env.production.d1_databases ]] and then removing it. Not sure what caused the issue. I think it might be a bug when you delete a database connected to an active deployment you can't then add a new one.wrangler pages deployimport sentryPlugin from "@cloudflare/pages-plugin-sentry";
export const onRequest: PagesFunction<{
SENTRY_DSN: string;
}> = (context) => {
return sentryPlugin({ dsn: context.env.SENTRY_DSN })(context);
};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"There are no variables defined for this environment.production[[ d1_databases ]][[ env.production.d1_databases ]]