Rename the variables for the two different types of Gotify key
This commit is contained in:
parent
7496d5505e
commit
6644a0b20e
|
@ -15,8 +15,8 @@ optional arguments:
|
||||||
The following environment variables will override any config or default:
|
The following environment variables will override any config or default:
|
||||||
* DELETE_ONRESOLVE (default: False)
|
* DELETE_ONRESOLVE (default: False)
|
||||||
* DISABLE_RESOLVED (default: False)
|
* DISABLE_RESOLVED (default: False)
|
||||||
* GOTIFY_CLIENT (default: None)
|
* GOTIFY_KEY_APP (default: None)
|
||||||
* GOTIFY_KEY (default: None)
|
* GOTIFY_KEY_CLIENT (default: None)
|
||||||
* GOTIFY_PORT (default: 80)
|
* GOTIFY_PORT (default: 80)
|
||||||
* GOTIFY_SERVER (default: localhost)
|
* GOTIFY_SERVER (default: localhost)
|
||||||
* LISTEN_PORT (default: 8080)
|
* LISTEN_PORT (default: 8080)
|
||||||
|
|
|
@ -25,8 +25,8 @@ class Alertify:
|
||||||
self.gotify = Gotify(
|
self.gotify = Gotify(
|
||||||
self.config.gotify_server,
|
self.config.gotify_server,
|
||||||
self.config.gotify_port,
|
self.config.gotify_port,
|
||||||
self.config.gotify_key,
|
self.config.gotify_key_app,
|
||||||
self.config.gotify_client,
|
self.config.gotify_key_app,
|
||||||
)
|
)
|
||||||
self.message_handler = MessageHandler(
|
self.message_handler = MessageHandler(
|
||||||
self.gotify,
|
self.gotify,
|
||||||
|
|
|
@ -16,8 +16,8 @@ class Config:
|
||||||
|
|
||||||
delete_onresolve = bool(False)
|
delete_onresolve = bool(False)
|
||||||
disable_resolved = bool(False)
|
disable_resolved = bool(False)
|
||||||
gotify_client = str()
|
gotify_key_app = str()
|
||||||
gotify_key = str()
|
gotify_key_client = str()
|
||||||
gotify_port = int(80)
|
gotify_port = int(80)
|
||||||
gotify_server = str('localhost')
|
gotify_server = str('localhost')
|
||||||
listen_port = int(8080)
|
listen_port = int(8080)
|
||||||
|
|
Loading…
Reference in a new issue