update api url to rana.lavatech.top

This commit is contained in:
Luna 2019-05-23 21:50:07 -03:00
parent 13d7f11d80
commit 5b2a737327

View file

@ -49,7 +49,7 @@ def send_heartbeats(heartbeats, args, configs, use_ntlm_proxy=False):
api_url = args.api_url
if not api_url:
api_url = 'https://rana.discordapp.io/api/v1/users/current/heartbeats.bulk'
api_url = 'https://rana.lavatech.top/api/v1/users/current/heartbeats.bulk'
log.debug('Sending heartbeats to api at %s' % api_url)
timeout = args.timeout
if not timeout:
@ -171,7 +171,7 @@ def get_time_today(args, use_ntlm_proxy=False):
fetch summary.
"""
url = 'https://rana.discordapp.io/api/v1/users/current/summaries'
url = 'https://rana.lavatech.top/api/v1/users/current/summaries'
timeout = args.timeout
if not timeout:
timeout = 60