You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
Variables
print icon

In addition to the environment variables that you specify, your project's .env accepts the following:

 

  • PORT
    • The port your project uses, which defaults to port 3000.

 

  • PROJECT_DOMAIN
    • Contains your project’s name, useful for programmatically specifying your project’s URL.

 

  • PROJECT_ID
    • The ID of your project.

 

  • PROJECT_INVITE_TOKEN
    • Useful if you want to invite people to edit your project.
Got more questions? Check out our Community Forum!
Open 24/7, the forum is where Glitch makers help each other and show off all the rad apps that they have created. It's the friendliest community of coders on the Web!
Feedback
8 out of 10 found this helpful

scroll to top icon