From 923c5574c10ef2cd636485a71c8647bde094029b Mon Sep 17 00:00:00 2001 From: perennial Date: Tue, 17 Sep 2024 01:37:55 +1000 Subject: [PATCH] docs: fix env vars page --- doc/hosting/environment-variables.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/hosting/environment-variables.md b/doc/hosting/environment-variables.md index dffeb5d..82aec9c 100644 --- a/doc/hosting/environment-variables.md +++ b/doc/hosting/environment-variables.md @@ -4,8 +4,6 @@ PixivFE's behavior is controlled by environment variables. Currently, you can on An example configuration is provided in [`.env.example`](https://codeberg.org/VnPower/PixivFE/src/branch/v2/.env.example). -This document is based on [`doc/Environment Variables.go`](https://codeberg.org/VnPower/PixivFE/src/branch/v2/doc/Environment%20Variables.go). - !!! tip To quickly set up PixivFE, you need to define two required environment variables: @@ -105,6 +103,7 @@ You can disable this by setting the value to 0. Then, proxies will only be check Specifies the method for selecting tokens when multiple tokens are provided in `PIXIVFE_TOKEN`. Valid options: + - `round-robin`: Tokens are used in a circular order. - `random`: A random token is selected for each request.