Wrangler uploads '.dev.vars'

Okay, I’m new to Cloudflare and Pages, so I might have configured something incorrectly. But I have set up ‘.dev.vars’ according to the doc, and not checked .dev.vars into git.

Since I have functions on my site, I use the wranglercommend to upload the lates changes. However, it looks like wrangler pages deploy . uploads .dev.vars to cloudflare.

Why is my developer secrets uploaded to the site?
Is there a way to avoid this?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.