.env file inconsistently generated

When creating a new project - sometimes an .env file is generated, sometimes not. Seems that using the button on the homepage usually generates the file, whereas selecting “New Project” from the upper-left drop-down menu does not.

Is there a logic to when / why this file is generated?

Thanks again.

1 Like

are you starting a new website project or a node app? the .env file only is usable if your app has a server-side component, and therefore doesn’t show up if you’re just making a website

“Website” project - .env file is still generated if created from the main glitch.com page…

hmm ya you’re right. That the .env file is being created for website remixes from glitch.com appears to be a bug, it does nothing on a website and can be safely deleted. Gonna fix this when I can, thanks :slight_smile:

1 Like