forked from luna/vim-rana-local
change api url to rana.discordapp.io
This commit is contained in:
parent
40dbc16430
commit
13d7f11d80
2 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -38,3 +38,4 @@ nosetests.xml
|
|||
# Generated Documentation
|
||||
doc/tags
|
||||
|
||||
.mypy_cache/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue