mirror of
https://github.com/zyphlar/doorlock.git
synced 2024-04-03 21:36:03 +00:00
Add Cobot card fetching, cleanup config setup.
This commit is contained in:
11
.env.example
Normal file
11
.env.example
Normal file
@@ -0,0 +1,11 @@
|
||||
COBOT_CLIENT_ID='...'
|
||||
COBOT_CLIENT_SECRET='...'
|
||||
COBOT_REDIRECT_URL='http://10.0.1.48:8080/success'
|
||||
COBOT_AUTHORIZE_URL='https://www.cobot.me/oauth/authorize'
|
||||
COBOT_TOKEN_URL='https://www.cobot.me/oauth/access_token'
|
||||
COBOT_SCOPE='checkin_tokens'
|
||||
COBOT_USER_EMAIL='...'
|
||||
COBOT_USER_PASSWORD='...'
|
||||
COBOT_CARDS_API='https://chimera.cobot.me/api/check_in_tokens'
|
||||
DOOR_OPEN_DELAY=6000
|
||||
PORT=8080
|
||||
Reference in New Issue
Block a user