From 0542813ed645bfabb535ca69d4859fadc895b9ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20M=C3=BCtsch?= Date: Sat, 7 Aug 2021 10:23:27 +0200 Subject: [PATCH] docs: update backwards-compatible api url in readme --- README.md | 4 ++-- views/summary.tpl.html | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 72b7cb8..ff12373 100644 --- a/README.md +++ b/README.md @@ -132,8 +132,8 @@ Wakapi relies on the open-source [WakaTime](https://github.com/wakatime/wakatime ```ini [settings] -# Your Wakapi server URL or 'https://wakapi.dev/api' when using the cloud server -api_url = http://localhost:3000/api +# Your Wakapi server URL or 'https://wakapi.dev' when using the cloud server +api_url = http://localhost:3000/api/heartbeat # Your Wakapi API key (get it from the web interface after having created an account) api_key = 406fe41f-6d69-4183-a4cc-121e0c524c2b diff --git a/views/summary.tpl.html b/views/summary.tpl.html index eb9c4ed..8dda612 100644 --- a/views/summary.tpl.html +++ b/views/summary.tpl.html @@ -212,7 +212,8 @@ # Step 2: Adapt your config
$ vi ~/.wakatime.cfg
- # Set api_url = %s/api
+ + # Set api_url = %s/api/heartbeat
# Set api_key =

# Step 3: Start coding and then check back here!