Update config_SAMPLE.py

Add simple web auth
This commit is contained in:
Waldek 2020-02-13 08:52:42 +01:00 committed by GitHub
parent c4f03c082e
commit 92d36332fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,11 @@ FREQUENCY = 10 # Frequency to push updates to
WEB_SERVER_PORT = 8080 # Has to be above 1024 if you're not running as root
CLIENT_TIMEOUT = 0 # Clients are timed out after this many seconds, 0 to disable
# Authorization of access to dashboard
WEB_AUTH = False
WEB_USER = 'hblink'
WEB_PASS = 'hblink'
# Files and stuff for loading alias files for mapping numbers to names
PATH = './' # MUST END IN '/'
PEER_FILE = 'peer_ids.json' # Will auto-download from DMR-MARC