Theo's Typesafe CultTTC
Theo's Typesafe Cult6mo ago
1 reply
clipt9m

Vercel deployment route /.env did not result in redirect.

I have an application deployed via vercel and notices something somewhat concerning earlier. A log indicated that a visit to my domain with the route /.env returned a successful 200 response. I tried to recreate this behavior by visiting this endpoint to see what was returned, and if I should frantically change my environment keys, but I was redirected to a 404 not found. You can see my visit in the logs. I am curious what is behind this behavior and if I should be concerned. My .env is gitignored, but I am using create-t3-app and it does have the env.js as it appears when you first boostrap create-t3-app.
Screenshot_2025-08-14_at_1.24.40_PM.png
Was this page helpful?