mirror of
https://github.com/gnh1201/caterpillar.git
synced 2024-11-26 15:31:45 +00:00
Update server.py
This commit is contained in:
parent
b9e6265063
commit
125a7a787b
|
@ -47,8 +47,8 @@ def extract_credentials(url):
|
|||
# initalization
|
||||
try:
|
||||
listening_port = config('PORT', default=5555, cast=int)
|
||||
_username, _password, server_url = extract_credentials(config('SERVER_URL', default='localhost'))
|
||||
server_connection_type = config('SERVER_CONNECTION_TYPE', default='stateless')
|
||||
_username, _password, server_url = extract_credentials(config('SERVER_URL', default=''))
|
||||
server_connection_type = config('SERVER_CONNECTION_TYPE', default='')
|
||||
cakey = config('CA_KEY', default='ca.key')
|
||||
cacert = config('CA_CERT', default='ca.crt')
|
||||
certkey = config('CERT_KEY', default='cert.key')
|
||||
|
|
Loading…
Reference in New Issue
Block a user