From 6b5fc7e5cee45d5bde424b8ed1cc187b34518a51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Mon, 20 May 2024 13:14:36 +0200 Subject: [PATCH] docs: notice that API_TOKEN must be uuid v4 --- README.md | 2 +- vars.example | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e3529c3..5ec61d9 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ pnpm run deploy Then, you need to set the following environment variables in your Cloudflare account: -- `API_TOKEN` - randomly generated token that will be used to authenticate requests +- `API_TOKEN` - random UUID v4 that will be used to authenticate requests - `PROVIDERS` - list of WakaTime instances (in JSON format) - `MAIN_PROVIDER` - main WakaTime instance which will be used to retrieve the user's data, etc... diff --git a/vars.example b/vars.example index d5fcfbe..c2c47c7 100644 --- a/vars.example +++ b/vars.example @@ -1,4 +1,4 @@ -# token you'll use in .wakatime.cfg +# token you'll use in .wakatime.cfg, must be UUID v4 API_TOKEN=random token that you want to use # providers you want to use