From 66dabe3d8ada21e5cd16fdeeb3ffe69ae0d5cca7 Mon Sep 17 00:00:00 2001 From: Lukas Schulte Pelkum Date: Sun, 23 May 2021 20:50:40 +0200 Subject: [PATCH] Mention length cap in Readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 52f3d30..67be1f2 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ Pasty will be available at http://localhost:8080. | `PASTY_DELETION_TOKEN_MASTER` | `` | `string` | Defines the master deletion token which is authorized to delete every paste (even if deletion tokens are disabled) | | `PASTY_DELETION_TOKEN_LENGTH` | `12` | `number` | Defines the length of the deletion token of a paste | | `PASTY_RATE_LIMIT` | `30-M` | `string` | Defines the rate limit of the API (see https://github.com/ulule/limiter#usage) | +| `PASTY_LENGTH_CAP` | `50000` | `number` | Defines the maximum amount of characters a paste is allowed to contain (a value `<= 0` means no limit) | ## AutoDelete Pasty provides an intuitive system to automatically delete pastes after a specific amount of time. You can configure it with the following variables: