change api url to rana.discordapp.io

This commit is contained in:
Luna 2019-05-19 20:54:03 -03:00
parent 40dbc16430
commit 13d7f11d80
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View file

@ -38,3 +38,4 @@ nosetests.xml
# Generated Documentation
doc/tags
.mypy_cache/

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://api.wakatime.com/api/v1/users/current/heartbeats.bulk'
api_url = 'https://rana.discordapp.io/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://api.wakatime.com/api/v1/users/current/summaries'
url = 'https://rana.discordapp.io/api/v1/users/current/summaries'
timeout = args.timeout
if not timeout:
timeout = 60