Add debug logging, move settings to secrets.py
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
# Door cards API key
|
||||
# should be equal to the auth token value set in Spaceport
|
||||
DOOR_API_KEY = ''
|
||||
|
||||
# Door API routes
|
||||
API_STATS = 'https://api.my.protospace.ca/stats/'
|
||||
API_DOOR = 'https://api.my.protospace.ca/door/'
|
||||
API_SEEN = lambda x: 'https://api.my.protospace.ca/door/{}/seen/'.format(x)
|
||||
|
||||
# Card reader settings
|
||||
BAUD_RATE = 2400
|
||||
|
Reference in New Issue
Block a user