mirror of
https://github.com/Steffo99/festa.git
synced 2025-01-02 20:14:20 +00:00
Improve .env setup
This commit is contained in:
parent
7271488bae
commit
1b83bbffb1
3 changed files with 6 additions and 5 deletions
2
.env.development
Normal file
2
.env.development
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
FESTA_TOKEN_EXPIRATION_MS=86400000
|
||||||
|
TELEGRAM_HASH_EXPIRATION_MS=300000
|
|
@ -1,6 +1,3 @@
|
||||||
DATABASE_URL=postgresql://steffo@localhost/festa?host=/var/run/postgresql
|
DATABASE_URL=postgresql://steffo@localhost/festa?host=/var/run/postgresql
|
||||||
FESTA_TOKEN_EXPIRATION_MS=86400000
|
TELEGRAM_TOKEN=12345:ABCDEF
|
||||||
TELEGRAM_TOKEN=YOUR-BOT-TOKEN
|
NEXT_PUBLIC_TELEGRAM_USERNAME=usernamebot
|
||||||
TELEGRAM_HASH_EXPIRATION_MS=300000
|
|
||||||
|
|
||||||
NEXT_PUBLIC_TELEGRAM_USERNAME=YOUR-BOT-USERNAME
|
|
||||||
|
|
2
.env.production
Normal file
2
.env.production
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
FESTA_TOKEN_EXPIRATION_MS=86400000
|
||||||
|
TELEGRAM_HASH_EXPIRATION_MS=300000
|
Loading…
Reference in a new issue