mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-07-13 07:11:17 -05:00
Added DEV ENV
This commit is contained in:
parent
c41aaf871f
commit
e05e877f99
|
|
@ -28,6 +28,10 @@ def run():
|
|||
|
||||
def keep_alive():
|
||||
try:
|
||||
if dev_env == "true":
|
||||
logger.graylog_logger(level="info", handler="api", message={"event": "DEV api started."})
|
||||
else:
|
||||
logger.graylog_logger(level="info", handler="api", message={"event": "api started."})
|
||||
t = Thread(target=run)
|
||||
t.daemon = True
|
||||
t.start()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user